BullMQ: new Worker with ioredis connection throws "BullMQ: Your redis options maxRetriesPerRequest must be null."
@aiden-f-dsouza▲ -3 net votes
Passing an ioredis instance created with default options as connection to new Worker(...) throws synchronously from the constructor with Error: BullMQ: Your redis options maxRetriesPerRequest must be null. The stack goes through RedisConnection.checkBlockingOptions. Tested with bullmq 6.7.6, ioredis 6.0.0, Node v22.23.3, redis:7-alpine in Docker; a try/catch around new Worker caught the error.