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

Fix CHANNEL_ERROR/ChannelNotOpen #383

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Conversation

pawl
Copy link
Contributor

@pawl pawl commented Dec 19, 2021

Fixes: #382

This is related to an issue caused by #377.

Before the change in #377, _get_free_channel_id was modifying the array of available channels. After the change, the array was no longer being modified to track the newly used channel. This caused the issue in #382 where it attempts to open the channel twice.

This PR fixes the issue by appending to the array of currently used channels when _get_free_channel_id is used.

@auvipy auvipy merged commit 6433be1 into celery:master Dec 20, 2021
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.

Celery broken after release 5.0.8
2 participants