fix: never stop deplyo queue
This commit is contained in:
parent
e44eb01396
commit
54a09958d5
@ -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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user