fix clippy
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Alex 2022-06-21 17:22:20 +02:00
parent 10c886111e
commit 708dab6e0f
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -193,7 +193,7 @@ impl WorkerHandler {
WorkerStatus::Idle => {
if *self.stop_signal.borrow() {
select! {
new_st = self.worker.wait_for_work(&mut self.stop_signal_worker) => {
new_st = self.worker.wait_for_work(&self.stop_signal_worker) => {
self.status = new_st;
}
_ = tokio::time::sleep(Duration::from_secs(1)) => {
@ -202,7 +202,7 @@ impl WorkerHandler {
}
} else {
select! {
new_st = self.worker.wait_for_work(&mut self.stop_signal_worker) => {
new_st = self.worker.wait_for_work(&self.stop_signal_worker) => {
self.status = new_st;
}
_ = self.stop_signal.changed() => {