mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19:40:59 +00:00
clippy
This commit is contained in:
parent
c1d7d9e750
commit
9141f662d7
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ where
|
|||
let processors = processors.clone();
|
||||
|
||||
if let Err(e) = spawn::spawn_in(&mut superset, "worker-supervisor", async move {
|
||||
while let Some(_) = set.join_next().await {
|
||||
while set.join_next().await.is_some() {
|
||||
metrics::counter!("background-jobs.tokio.worker.finished", "queue" => queue.clone())
|
||||
.increment(1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue