mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
clean up
This commit is contained in:
parent
bb1884064d
commit
07ea2aaad8
1 changed files with 0 additions and 4 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue