fixing batch before moving to the apps

This commit is contained in:
Boki 2025-06-19 21:33:31 -04:00
parent 8c2f98e010
commit 3534a2c47b
14 changed files with 43 additions and 884 deletions

View file

@ -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 = {