Increase delay between log requests

This commit is contained in:
Joscha 2022-08-06 02:02:55 +02:00
parent 345170698f
commit 8b66de44e0
2 changed files with 4 additions and 1 deletions

View file

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