Skip to content
New issue

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

docs: provide connection details in getting started (fixes #2838) #2897

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

fgozdz
Copy link
Contributor

@fgozdz fgozdz commented Nov 12, 2024

This issue fixes #2838

@fgozdz fgozdz requested a review from manast November 12, 2024 12:55
@fgozdz fgozdz changed the title fix(docs): provide connection details in getting started (fixes #2847) fix(docs): provide connection details in getting started (fixes #2838) Nov 12, 2024
Copy link
Contributor

@manast manast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@roggervalf roggervalf changed the title fix(docs): provide connection details in getting started (fixes #2838) docs: provide connection details in getting started (fixes #2838) Nov 12, 2024
@@ -25,7 +25,7 @@ const myWorker = new Worker('myqueue', async (job)=>{}, { connection: {
import { Queue, Worker } from 'bullmq';
import IORedis from 'ioredis';

const connection = new IORedis();
const connection = new IORedis({ maxRetriesPerRequest: null });
Copy link
Collaborator

@roggervalf roggervalf Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something to take in count is that we are recommending to not add this option for producers (Queue), only for consumers (Workers). Pls change it to reflect it base on https://docs.bullmq.io/bull/patterns/persistent-connections#queue

@fgozdz fgozdz requested review from roggervalf and manast November 28, 2024 11:16
Copy link
Collaborator

@roggervalf roggervalf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@fgozdz fgozdz force-pushed the docs/connection-details-in-getting-started branch from 43a6bf5 to 8643147 Compare November 29, 2024 21:42
@fgozdz fgozdz marked this pull request as draft November 29, 2024 21:53
@fgozdz fgozdz marked this pull request as ready for review December 3, 2024 12:33
@roggervalf roggervalf merged commit ba28e37 into master Dec 7, 2024
12 checks passed
@roggervalf roggervalf deleted the docs/connection-details-in-getting-started branch December 7, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Getting started documentation doesn't run
3 participants