Request logs every 2 seconds instead of 3

This commit is contained in:
Joscha 2022-06-24 23:04:05 +02:00
parent cda1e8f7d8
commit 5b28d1601d

View file

@ -97,7 +97,7 @@ impl State {
async fn regularly_request_logs(event_tx: &mpsc::UnboundedSender<Event>) {
loop {
time::sleep(Duration::from_secs(3)).await; // TODO Make configurable
time::sleep(Duration::from_secs(2)).await; // TODO Make configurable
let _ = event_tx.send(Event::RequestLogs);
}
}