OptimalBits / bull

Premium Queue package for handling distributed jobs and messages in NodeJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reusable redis connections with node-redis and not with ioredis package

P4yBill opened this issue · comments

Description

Hello! This is not an issue, its more like an informative question.
We are currently using node-redis package in a project and not ioredis.

I was this pattern in docs for reusing redis connections but i have not found a way to do it with node-redis package.
Is there a way that i can reuse redis connections with node-redis package?

Minimal, Working Test code to reproduce the issue.

(An easy to reproduce test case will dramatically decrease the resolution time.)

Bull version

3.29.3

Additional information

The differences between the Redis and IORedis packages are too large to make them interchangeable. So only IORedis is supported.