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

sd-event: fix failure to exit rate limiting state #19811

Merged
merged 2 commits into from
Jun 10, 2021

Commits on Jun 9, 2021

  1. test: add extended test for triggering mount rate limit

    It's hard to trigger the failure to exit the rate limit state in
    isolation as it needs multiple event sources in order to show that it
    gets stuck in the queue. Hence why this is an extended test.
    anitazha committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    0c81900 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. sd-event: change ordering of pending/ratelimited events

    Instead of ordering non-pending before pending we should order
    "non-pending OR ratelimited" before "pending AND not-ratelimited".
    This fixes a bug where ratelimited events were ordered at the end of the
    priority queue and could be stuck there for an indeterminate amount of
    time.
    poettering authored and anitazha committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    81107b8 View commit details
    Browse the repository at this point in the history