summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-12-20 10:52:06 +0100
committerGitHub <noreply@github.com>2018-12-20 10:52:06 +0100
commit5aa2d3a77f2c77af8fbabf0a18c33e1c4b0cd1d9 (patch)
tree3a65d1102d52881f10b3515e1f1863833bcd9a52 /modules/luci-mod-network
parentaee720f11f0c09b3a67a70c6a863bac9c15fe1dc (diff)
parent3b9ba0210e9da62861f260b4ed367e2a05789afe (diff)
Merge pull request #2351 from TDT-AG/pr/20181204-modules
modules: use configurable poll interval
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm b/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm
index 68f0bbc9d4..6e741b419a 100644
--- a/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm
+++ b/modules/luci-mod-network/luasrc/view/admin_network/switch_status.htm
@@ -21,7 +21,7 @@
return status_row;
}
- XHR.poll(5, '<%=url('admin/network/switch_status')%>/' + switches.join(','), null,
+ XHR.poll(-1, '<%=url('admin/network/switch_status')%>/' + switches.join(','), null,
function(x, st)
{
for (var i = 0; i < switches.length; i++)