mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Reduce delta for reboot checks
This commit is contained in:
parent
93272c162d
commit
c26db635a5
|
@ -20,13 +20,13 @@
|
||||||
var jqxhr = $.get("/settings/ping", function() {
|
var jqxhr = $.get("/settings/ping", function() {
|
||||||
if (hasShutdown) {
|
if (hasShutdown) {
|
||||||
// Redirect to home
|
// Redirect to home
|
||||||
setTimeout(redirectHome, 5000)
|
setTimeout(redirectHome, 2500)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.done(function() {
|
.done(function() {
|
||||||
if (hasShutdown) {
|
if (hasShutdown) {
|
||||||
// Redirect to home
|
// Redirect to home
|
||||||
setTimeout(redirectHome, 5000)
|
setTimeout(redirectHome, 2500)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.fail(function() {
|
.fail(function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user