fix: never stop deplyo queue

This commit is contained in:
Andras Bacsai 2022-08-24 11:16:49 +02:00
parent e44eb01396
commit 54a09958d5

View File

@ -15,7 +15,6 @@ const options: any = {
if (message.pending === 0 && message.size === 0) { if (message.pending === 0 && message.size === 0) {
if (message.caller === 'autoUpdater') { if (message.caller === 'autoUpdater') {
if (!scheduler.workers.has('autoUpdater')) { if (!scheduler.workers.has('autoUpdater')) {
await scheduler.stop('deployApplication');
await scheduler.run('autoUpdater') await scheduler.run('autoUpdater')
} }
} }