Add biased and remove delay in shutdown

This commit is contained in:
Bogdan-Ștefan Neacşu
2025-02-05 15:32:27 +02:00
parent 31042725ed
commit 121952223a
@@ -123,7 +123,8 @@ impl StatisticsControl {
loop {
tokio::select! {
_ = task_client.recv_with_delay() => {
biased;
_ = task_client.recv() => {
log::trace!("StatisticsControl: Received shutdown");
break;
},