Created by: marcbachmann
Just another tiny typo I saw when I was reading through the code.
I went through the code because I was wondering why there was a default
fallback in the example about how to reuse redis connections: https://github.com/OptimalBits/bull/blob/master/PATTERNS.md#reusing-redis-connections
What is bclient
exactly and can I reuse the existing connection for that? To me it looks like it's some kind of connection to do separate requests outside of the regular job processing flow, so that they won't interfere.
const queueSettings = {
createClient (type) {
if (type === 'client' || type === 'bclient') return redisForMutations
if (type === 'subscriber') return redisForSubscriptions
throw new Error(`Requested unknown redis client instance for type '${type}'`)
},
settings: {retryProcessDelay: 10000}
}
I could create a new issue or PR to improve the documentation.