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

Support "hybrid" protocol 1 & 2 messages. #64

Merged
merged 3 commits into from
Apr 8, 2022
Merged

Support "hybrid" protocol 1 & 2 messages. #64

merged 3 commits into from
Apr 8, 2022

Conversation

clokep
Copy link
Owner

@clokep clokep commented Apr 8, 2022

Ports celery/celery#4358.

This would likely be difficult to come across now since protocol 2 messages have been the default for a while, but it reduces the diff of the strategy between batches & the default strategy.

body, headers, decoded, utc = (
message.body,
message.headers,
False,
True,
app.uses_utc_timezone(),
Copy link
Owner Author

Choose a reason for hiding this comment

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

This seems to be celery/celery#3867.

@clokep clokep marked this pull request as ready for review April 8, 2022 19:53
@clokep clokep merged commit 93b1a4d into main Apr 8, 2022
@clokep clokep deleted the hybrid-messages branch April 8, 2022 20:08
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.

1 participant