summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc
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 /applications/luci-app-adblock/luasrc
parentaee720f11f0c09b3a67a70c6a863bac9c15fe1dc (diff)
parent3b9ba0210e9da62861f260b4ed367e2a05789afe (diff)
Merge pull request #2351 from TDT-AG/pr/20181204-modules
modules: use configurable poll interval
Diffstat (limited to 'applications/luci-app-adblock/luasrc')
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/logread.htm2
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/runtime.htm2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
index 7fe254ae80..48e367ec28 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm
@@ -10,7 +10,7 @@ This is free software, licensed under the Apache License, Version 2.0
//<![CDATA[
function log_update()
{
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null,
function(x)
{
if (!x)
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm
index 0b5c748571..72e2b0d364 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm
@@ -123,7 +123,7 @@ This is free software, licensed under the Apache License, Version 2.0
status_update(json_info);
});
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "status_update")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "status_update")%>', null,
function(x, json_info)
{
if (!x || !json_info || !json_info.data)