chore: resolve SonarCloud maintainability issues

This commit is contained in:
Dylan M. Taylor
2026-10-24 02:19:25 +00:00
parent a2ec27b477
commit 2b04a06fba
51 changed files with 186 additions and 130 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ impl WorkQueue {
}
// The parser validity token can change independently of this queue. Bound the
// wait so failed generations are released even while the consumer is paused.
state = self.changed.wait_timeout(state, Duration::from_millis(25)).unwrap_or_else(|p| p.into_inner()).0;
state = self.changed.wait_timeout(state, Duration::from_millis(25)).unwrap_or_else(std::sync::PoisonError::into_inner).0;
}
}