We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating a BeeQueue use { redis: createClient({ url: 'redis-url' }) }
{ redis: createClient({ url: 'redis-url' }) }
BeeQueue still try to connect the redis using default config redis://127.0.0.1:6379
redis://127.0.0.1:6379
import { createClient } from "redis"; import BeeQueue from "bee-queue"; const client = createClient({ url: "redis://127.0.0.1:6380" }) const queue = new BeeQueue('SOMETHING', { redis: client }) queue.createJob('data').save().then(j => { console.log(j) })
node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */); ^ Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 6379 }
"bee-queue": "^1.7.1" "redis": "^4.6.10"
Node version: Node.js v18.18.0 Also Reproduced on Node v20
The text was updated successfully, but these errors were encountered:
node-redis v4 is not yet supported, sorry.
Sorry, something went wrong.
No branches or pull requests
Problem
When creating a BeeQueue use
{ redis: createClient({ url: 'redis-url' }) }
BeeQueue still try to connect the redis using default config
redis://127.0.0.1:6379
Reproduce
code
result
Version
Node version: Node.js v18.18.0
Also Reproduced on Node v20
The text was updated successfully, but these errors were encountered: