more work on the BullMQ workers

This commit is contained in:
2025-12-25 10:59:35 -08:00
parent 32a9e6732b
commit e8d511b4de
9 changed files with 884 additions and 442 deletions

View File

@@ -88,7 +88,7 @@ module.exports = {
// --- General Worker ---
name: 'flyer-crawler-worker',
script: './node_modules/.bin/tsx',
args: 'src/services/queueService.server.ts', // tsx will execute this file
args: 'src/worker.ts', // tsx will execute this file
// Production Environment Settings
env_production: {
NODE_ENV: 'production',
@@ -164,7 +164,7 @@ module.exports = {
// --- Analytics Worker ---
name: 'flyer-crawler-analytics-worker',
script: './node_modules/.bin/tsx',
args: 'src/services/queueService.server.ts', // tsx will execute this file
args: 'src/worker.ts', // tsx will execute this file
// Production Environment Settings
env_production: {
NODE_ENV: 'production',