]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
dns: increase api intervall from 1s to 10s
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Apr 2022 14:40:35 +0000 (16:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Apr 2022 14:40:37 +0000 (16:40 +0200)
this is not something that changes very often, so avoid to many api
calls.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/node/DNSView.js

index d16b2872f5f732ea4236fd18d0b495f712aa4924..4782f9c4f1aa0a44323fb460e9199f6e5da91800 100644 (file)
@@ -17,7 +17,7 @@ Ext.define('Proxmox.node.DNSView', {
        Ext.apply(me, {
            url: `/api2/json/nodes/${me.nodename}/dns`,
            cwidth1: 130,
-           interval: 1000,
+           interval: 10 * 1000,
            run_editor: run_editor,
            rows: {
                search: {