mirror of
https://github.com/pi-hole/web.git
synced 2025-12-27 13:59:14 +00:00
Reduce blocking mode status polling interval to 10 seconds
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -66,13 +66,11 @@ function checkBlocking() {
|
||||
})
|
||||
.done(function (data) {
|
||||
piholeChanged(data.blocking);
|
||||
|
||||
setTimeout(checkBlocking, 2500);
|
||||
setTimeout(checkBlocking, 10000);
|
||||
})
|
||||
.fail(function (data) {
|
||||
apiFailure(data);
|
||||
|
||||
setTimeout(checkBlocking, 5000);
|
||||
setTimeout(checkBlocking, 30000);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user