feat: reduce ServeHealth event to every 300s to reduce event volume (#362)
parent
3a2262429a
commit
df45573501
|
|
@ -183,7 +183,7 @@ fn start_heartbeat(args: &ServeArgs) {
|
|||
tokio::spawn(async move {
|
||||
loop {
|
||||
usage::capture("ServeHealth", &state).await;
|
||||
sleep(Duration::from_secs(60)).await;
|
||||
sleep(Duration::from_secs(300)).await;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue