fix: autoUpdater & cleanupStorage jobs

This commit is contained in:
Andras Bacsai
2022-08-17 11:03:44 +02:00
parent 727133e28b
commit 028f883499
5 changed files with 25 additions and 7 deletions

View File

@@ -20,7 +20,6 @@ const options: any = {
}
if (message.caller === 'cleanupStorage') {
if (!scheduler.workers.has('cleanupStorage')) {
await scheduler.stop('deployApplication');
await scheduler.run('cleanupStorage')
}
}