queueMonitoring.ts
1 import Arena from 'bull-arena'; 2 import BeeQueue from 'bee-queue'; 3 import appSettings from '../config/appSettings'; 4 5 export const arenaConfig = Arena( 6 { 7 Bee: BeeQueue, 8 queues: [ 9 { 10 type: 'bee', 11 name: `${appSettings.network}_events`, 12 redis: { 13 url: appSettings.redisConnectionString, 14 }, 15 hostId: 'drips_queue', 16 }, 17 ], 18 }, 19 { 20 basePath: '/', 21 disableListen: true, 22 }, 23 );