bullmq icon indicating copy to clipboard operation
bullmq copied to clipboard

feat(worker): add support for conditional connection closure

Open kibertoad opened this issue 1 year ago • 1 comments

fixes #2437

In case application manages lifecycle of Redis connection itself, this provides an option of opting out of BullMQ automatic connection close.

kibertoad avatar Feb 24 '24 13:02 kibertoad

This is not needed. The underlying Redis connection is only closed if it is not "shared": https://github.com/taskforcesh/bullmq/blob/master/src/classes/redis-connection.ts#L297

manast avatar Feb 25 '24 16:02 manast