chore: set health heartbit to every 30 minutes (#591)

r0.4
Meng Zhang 2023-10-18 15:59:16 -07:00 committed by GitHub
parent 34a9de22cd
commit fc63dd7458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ fn start_heartbeat(args: &ServeArgs) {
tokio::spawn(async move {
loop {
usage::capture("ServeHealth", &state).await;
sleep(Duration::from_secs(300)).await;
sleep(Duration::from_secs(3000)).await;
}
});
}