Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sd-event: remove assert(a<=b) in sleep_between()
With the changes to earliest_time_prioq_compare() to accommodate rate limiting events, it seems that there can be times where a > b when calculating sleep_between(). Since the assert() in sleep_between() is no longer true, remove it and swap a and b when a > b and continue to pick a time between the two as usual.
- Loading branch information