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...');
|
||||
});
|
||||
return;
|
||||
}, 5000);
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
function upgrade() {
|
||||
|
|
@ -55,13 +55,13 @@ function upgrade() {
|
|||
}
|
||||
})
|
||||
.catch(error => {
|
||||
Toaster.success('Update done, restart Coolify!')
|
||||
Toaster.success('Update done, restarting Coolify!')
|
||||
console.log('It\'s dead. Reviving... Standby... Bzz... Bzz...')
|
||||
revive();
|
||||
if (checkIfIamDeadInterval) clearInterval(checkIfIamDeadInterval);
|
||||
revive();
|
||||
});
|
||||
return;
|
||||
}, 5000);
|
||||
}, 2000);
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue