This commit is contained in:
Andras Bacsai committed 2023-06-16 21:16:30 +02:00
1 parent a4c5105d78
commit 9d6557bacb
9 files changed
+23 -11

No files matched your search

@@ -66,6 +66,7 @@
}
function revive() {
if (checkHealthInterval) return true;
console.log('Checking server\'s health...')
checkHealthInterval = setInterval(() => {
fetch('/api/health')
@@ -85,6 +86,7 @@
}
function upgrade() {
if (checkIfIamDeadInterval) return true;
console.log('Update initiated.')
checkIfIamDeadInterval = setInterval(() => {
fetch('/api/health')