removed delayWorkerStart
This commit is contained in:
parent
f6038d385f
commit
c8dcd697c9
10 changed files with 5 additions and 12 deletions
|
|
@ -150,7 +150,7 @@ export class QueueManager {
|
|||
const queueConfig: QueueWorkerConfig = {
|
||||
workers,
|
||||
concurrency,
|
||||
startWorker: workers > 0 && !this.config.delayWorkerStart,
|
||||
startWorker: workers > 0,
|
||||
handlerRegistry: options.handlerRegistry || this.handlerRegistry,
|
||||
serviceName: this.config.serviceName,
|
||||
};
|
||||
|
|
@ -186,7 +186,7 @@ export class QueueManager {
|
|||
workers: workers,
|
||||
concurrency: concurrency,
|
||||
handlerRegistryProvided: !!this.handlerRegistry,
|
||||
willStartWorkers: workers > 0 && !this.config.delayWorkerStart,
|
||||
willStartWorkers: workers > 0,
|
||||
isOwnQueue,
|
||||
serviceName: this.serviceName,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue