···99 // Start the app process
1010 await appProcess.start();
11111212- // Start appropriate worker based on event system type
1212+ // Only start event worker in same process when using in-memory events
1313 const useInMemoryEvents = process.env.USE_IN_MEMORY_EVENTS === 'true';
1414 if (useInMemoryEvents) {
1515 console.log('Starting in-memory event worker in the same process...');
1616 const inMemoryWorkerProcess = new InMemoryEventWorkerProcess(configService);
1717 await inMemoryWorkerProcess.start();
1818 } else {
1919- console.log('Starting BullMQ feed worker in the same process...');
2020- const feedWorkerProcess = new FeedWorkerProcess(configService);
2121- await feedWorkerProcess.start();
1919+ console.log('Using external worker processes for event handling');
2220 }
2321}
2422