mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(notifications): minimize send notifications in more reusable fn
This commit is contained in:
@@ -57,9 +57,8 @@ void app.prepare().then(async () => {
|
||||
// Timeout to wait for the database to be ready
|
||||
await new Promise((resolve) => setTimeout(resolve, 7000));
|
||||
await migration();
|
||||
await sendDokployRestartNotifications();
|
||||
}
|
||||
await sendDokployRestartNotifications();
|
||||
|
||||
server.listen(PORT);
|
||||
console.log("Server Started:", PORT);
|
||||
deploymentWorker.run();
|
||||
|
||||
Reference in New Issue
Block a user