Request logs every 2 seconds instead of 3
This commit is contained in:
parent
cda1e8f7d8
commit
5b28d1601d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue