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

Only check filter body buffering if message content still inflight #1779

Merged
merged 1 commit into from
May 28, 2024

Conversation

gavinbunney
Copy link
Contributor

@gavinbunney gavinbunney commented May 28, 2024

Only check the specific filter needsBodyBuffered method if the message does not yet have a complete body.

This fixes a small perf issue for filters which require processing of the zuul message in their needsBodyBuffered method to be able to skip processing of it entirely if the message is already buffered.

@gavinbunney gavinbunney merged commit 9ce0eab into master May 28, 2024
5 checks passed
@gavinbunney gavinbunney deleted the gavin/buffer-optimize branch May 28, 2024 21:11
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