Revert "Fix #375: urgent events bypass throttle" (#514)

This commit is contained in:
Félix Saparelli 2023-03-04 04:34:15 +13:00 committed by GitHub
parent c87a7343b3
commit 1e72cf6866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -76,9 +76,7 @@ pub async fn worker(
trace!(?event, ?priority, "got event");
if priority == Priority::Urgent {
trace!("urgent event, by-passing filters and throttle");
set.push(event);
break;
trace!("urgent event, by-passing filters");
} else if event.is_empty() {
trace!("empty event, by-passing filters");
} else {