move AI flyer processing to background BullMQ jobs using redis for storage
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 7m0s

This commit is contained in:
2025-12-02 18:12:39 -08:00
parent 4359eb50be
commit b800f85f9b
3 changed files with 5 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ module.exports = {
// Use `tsx` directly as the interpreter. PM2 will find it in node_modules/.bin.
// This is more robust than calling `node` on the script path.
script: './node_modules/.bin/tsx',
args: '--env-file=.env server.ts',
args: 'server.ts',
env_production: {
NODE_ENV: 'production', // Set the Node.js environment to production
},