1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00
This commit is contained in:
Tyler Myracle 2024-01-17 20:50:18 -06:00
parent bb1884064d
commit 07ea2aaad8

View file

@ -70,10 +70,6 @@ const redis = new Redis(env.NX_REDIS_URL, {
retryStrategy: ServerUtil.redisRetryStrategy({ maxAttempts: 5 }), retryStrategy: ServerUtil.redisRetryStrategy({ maxAttempts: 5 }),
}) })
export function closeRedis() {
redis.disconnect()
}
export const queueService = new QueueService( export const queueService = new QueueService(
logger.child({ service: 'QueueService' }), logger.child({ service: 'QueueService' }),
process.env.NODE_ENV === 'test' process.env.NODE_ENV === 'test'