fixed libs ready for new data-injection

This commit is contained in:
Boki 2025-06-21 20:38:16 -04:00
parent c5a114d544
commit 8405f44bd9
25 changed files with 277 additions and 241 deletions

View file

@ -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> = {