removed delayWorkerStart

This commit is contained in:
Boki 2025-06-24 16:18:20 -04:00
parent f6038d385f
commit c8dcd697c9
10 changed files with 5 additions and 12 deletions

View file

@ -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,
});