Decrease log request delay
This commit is contained in:
parent
721461f7be
commit
b30adaf17c
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>) {
|
async fn regularly_request_logs(event_tx: &mpsc::UnboundedSender<Event>) {
|
||||||
loop {
|
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);
|
let _ = event_tx.send(Event::RequestLogs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue