Creating queue from a redis url
Created by: danturu
Is this an internal API? https://github.com/OptimalBits/bull/blob/master/lib/queue.js#L67
Currently, I do something like this in order to create a queue from a redis url:
const { port, hostname, auth } = url.parse(process.env.REDIS_URL);
const queue = bull('id', port, hostname, { auth_pass: String(auth).split(':')[1] });
How can I just pass a redis url to Bull? Did I miss something?