feat: reduce ServeHealth event to every 300s to reduce event volume (#362)

release-0.0
Meng Zhang 2023-08-20 20:36:59 +08:00 committed by GitHub
parent 3a2262429a
commit df45573501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
});
}