hmm
This commit is contained in:
parent
1540493b29
commit
624323151e
1 changed files with 4 additions and 4 deletions
|
|
@ -42,7 +42,7 @@ function revive() {
|
||||||
console.log('Waiting for server to come back from dead...');
|
console.log('Waiting for server to come back from dead...');
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}, 5000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade() {
|
function upgrade() {
|
||||||
|
|
@ -55,13 +55,13 @@ function upgrade() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
Toaster.success('Update done, restart Coolify!')
|
Toaster.success('Update done, restarting Coolify!')
|
||||||
console.log('It\'s dead. Reviving... Standby... Bzz... Bzz...')
|
console.log('It\'s dead. Reviving... Standby... Bzz... Bzz...')
|
||||||
revive();
|
|
||||||
if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
|
if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
|
||||||
|
revive();
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}, 5000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue