fixed libs ready for new data-injection
This commit is contained in:
parent
c5a114d544
commit
8405f44bd9
25 changed files with 277 additions and 241 deletions
|
|
@ -208,11 +208,14 @@ export class ConnectionFactory implements IConnectionFactory {
|
|||
const manager = QueueManager.initialize({
|
||||
redis: poolConfig.config as any,
|
||||
defaultQueueOptions: {
|
||||
workers: 2, // Default number of workers per queue
|
||||
concurrency: 1, // Jobs processed concurrently per worker
|
||||
defaultJobOptions: {
|
||||
removeOnComplete: 100,
|
||||
removeOnFail: 50,
|
||||
},
|
||||
},
|
||||
delayWorkerStart: false, // Start workers immediately when queues are created
|
||||
});
|
||||
|
||||
const pool: ConnectionPool<any> = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue