Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information