This commit is contained in:
Andras Bacsai
2023-06-15 11:09:08 +02:00
parent 1540493b29
commit 624323151e

View File

@@ -42,7 +42,7 @@
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 @@
} }
}) })
.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>