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

Pass connection options from broker_options to default_channel #769

Merged
merged 3 commits into from
Aug 2, 2017
Merged

Pass connection options from broker_options to default_channel #769

merged 3 commits into from
Aug 2, 2017

Conversation

alukach
Copy link
Contributor

@alukach alukach commented Jul 18, 2017

Not sure if this is the best implementation, however it gets the job done for my needs. My goal is to be able to start my application when the message broker is offline. Upon startup, the application attempts to establish queues, which requires the Channel.default_connection to be generated. When generating the default_channel, Channel.ensure_connection with no max_retry (or other options) provided. This caused the application to hang while infinitely attempting to connect to the broker.

Fixes #765

@alukach
Copy link
Contributor Author

alukach commented Jul 31, 2017

@thedrow Thanks for the review. Please see changes.

Anthony Lukach added 2 commits July 31, 2017 17:59
@sanjioh
Copy link

sanjioh commented Oct 25, 2017

hi @thedrow, is by any chance a release of kombu 4.1.1 planned anytime soon, with this fix included? It would be nice to have the behaviour of kombu 4.0.2 restored, when used with Celery (see also #795).
thanks!

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.

2 participants