feat: Implement process worker with bullmq

This commit is contained in:
Faruk AYDIN
2022-03-05 00:15:46 +03:00
committed by Ömer Faruk Aydın
parent b288dc8c35
commit 20e725b590
9 changed files with 194 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
import { Queue } from 'bullmq';
import redisConfig from '../config/redis';
const processorQueue = new Queue('processor', {
connection: redisConfig,
});
export default processorQueue;