Decrease log request delay

This commit is contained in:
Joscha 2022-06-24 18:10:20 +02:00
parent 721461f7be
commit b30adaf17c

View file

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