Skip to content

Conversation

@supersven
Copy link
Contributor

Limit the amount of unacknowledged messages the RabbitMQ notifications consumer
receives to 100. Beyond this limit, received messages have to be acknowledged
to receive new ones. This prevents overloading the consumer with new messages.

Ticket: https://wearezeta.atlassian.net/browse/WPB-17896

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jun 13, 2025
@supersven supersven force-pushed the sventennie/notifications-limit-prefetch_count branch from 119da6e to 2612e2c Compare June 16, 2025 09:41
@supersven supersven marked this pull request as ready for review June 16, 2025 12:30
@supersven supersven requested review from a team as code owners June 16, 2025 12:30
Each consumer can consume up to unacknowledged 100 messages. Beyond
this, messages need to be acknowdledged. This prevents overloading the
consumer with new messages.
message_counts cannot appear here.
@supersven supersven force-pushed the sventennie/notifications-limit-prefetch_count branch from fa1adf5 to 77b8e27 Compare June 17, 2025 16:31
@supersven
Copy link
Contributor Author

The test ran 8 times green in a row, so I'm considering it to be stable now.

@supersven supersven merged commit 5932553 into develop Jun 19, 2025
8 checks passed
@supersven supersven deleted the sventennie/notifications-limit-prefetch_count branch June 19, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants