Skip to content

Commit 9ddc673

Browse files
committed
chore(bull): fix createClient example
1 parent b8fa184 commit 9ddc673

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

example/bull.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ async function main() {
6363
// Queue type (Bull or Bee - default Bull).
6464
type: 'bull',
6565

66-
redis: {
67-
// host: 'localhost',
68-
port: REDIS_SERVER_PORT,
69-
},
66+
createClient,
7067
},
7168
{
7269
// Required for each queue definition.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": {
2020
"@fastify/express": "^2.3.0",
2121
"bee-queue": "^1.4.0",
22-
"bull": "^3.22.6",
22+
"bull": "^4.12.2",
2323
"bullmq": "^4.8.0",
2424
"express": "^4.17.1",
2525
"fastify": "^4.13.0"

0 commit comments

Comments
 (0)