Increase delay between log requests
This commit is contained in:
parent
345170698f
commit
8b66de44e0
2 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue