fixing batch before moving to the apps
This commit is contained in:
parent
8c2f98e010
commit
3534a2c47b
14 changed files with 43 additions and 884 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { Queue, type Job } from 'bullmq';
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
import type { JobData, DLQConfig, RedisConfig } from './types';
|
||||
import type { DLQConfig, RedisConfig } from './types';
|
||||
import { getRedisConnection } from './utils';
|
||||
|
||||
const logger = getLogger('dlq-handler');
|
||||
|
|
@ -12,7 +12,7 @@ export class DeadLetterQueueHandler {
|
|||
|
||||
constructor(
|
||||
private mainQueue: Queue,
|
||||
private connection: RedisConfig,
|
||||
connection: RedisConfig,
|
||||
config: DLQConfig = {}
|
||||
) {
|
||||
this.config = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue