export const testQueue = new Queue('test', 'redis://127.0.0.1:6379/3')
It would still use db0 instead of db3
yes, I remembered that we are still parsing the url instead of sending it directly to ioredis. As a workaround you can just explicitly select the DB in a separate option:
new Queue('tests', {redis: {
host: '127.0.0.1',
port: 6379,
db: 3
}});
Most helpful comment
yes, I remembered that we are still parsing the url instead of sending it directly to ioredis. As a workaround you can just explicitly select the DB in a separate option: