Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin/server: fix rearm_log_level_timer
_log_level_resets is a map<str, level_reset>, we want to extract the next expiring level_reset to rearm the _log_level_timer. previously we would extract the min_element based on the key (the logger name) so this sequence of actions set log-level kafka trace 10 set log-level raft trace 10 only kafka would be expired, because once expired the next run would pick again kafka, see that there is no expiration, and not rearm the timer.
- Loading branch information