removed delayWorkerStart
This commit is contained in:
parent
f6038d385f
commit
c8dcd697c9
10 changed files with 5 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { asClass, asFunction, asValue, type AwilixContainer } from 'awilix';
|
||||
import { Browser } from '@stock-bot/browser';
|
||||
import { ProxyManager } from '@stock-bot/proxy';
|
||||
import { asClass, asFunction, asValue, type AwilixContainer } from 'awilix';
|
||||
import type { AppConfig } from '../config/schemas';
|
||||
import type { ServiceDefinitions } from '../container/types';
|
||||
|
||||
|
|
@ -76,7 +76,6 @@ export function registerApplicationServices(
|
|||
defaultJobOptions: config.queue!.defaultJobOptions,
|
||||
},
|
||||
enableScheduledJobs: config.queue!.enableScheduledJobs ?? true,
|
||||
delayWorkerStart: config.queue!.delayWorkerStart ?? true, // Changed to true so ServiceApplication can start workers
|
||||
autoDiscoverHandlers: true,
|
||||
};
|
||||
return new QueueManager(queueConfig, handlerRegistry, logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue