diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-20 10:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 10:52:06 +0100 |
commit | 5aa2d3a77f2c77af8fbabf0a18c33e1c4b0cd1d9 (patch) | |
tree | 3a65d1102d52881f10b3515e1f1863833bcd9a52 /applications/luci-app-wireguard/luasrc/view/wireguard.htm | |
parent | aee720f11f0c09b3a67a70c6a863bac9c15fe1dc (diff) | |
parent | 3b9ba0210e9da62861f260b4ed367e2a05789afe (diff) |
Merge pull request #2351 from TDT-AG/pr/20181204-modules
modules: use configurable poll interval
Diffstat (limited to 'applications/luci-app-wireguard/luasrc/view/wireguard.htm')
-rw-r--r-- | applications/luci-app-wireguard/luasrc/view/wireguard.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-wireguard/luasrc/view/wireguard.htm b/applications/luci-app-wireguard/luasrc/view/wireguard.htm index 6ec9ddb368..53968da1da 100644 --- a/applications/luci-app-wireguard/luasrc/view/wireguard.htm +++ b/applications/luci-app-wireguard/luasrc/view/wireguard.htm @@ -113,7 +113,7 @@ } } - XHR.poll(5, '<%=REQUEST_URI%>', { status: 1 }, + XHR.poll(-1, '<%=REQUEST_URI%>', { status: 1 }, function(x, data) { for (var key in data) { if (!data.hasOwnProperty(key)) { continue; } |