chore: set health heartbit to every 30 minutes (#591)
parent
34a9de22cd
commit
fc63dd7458
|
|
@ -270,7 +270,7 @@ fn start_heartbeat(args: &ServeArgs) {
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
loop {
|
loop {
|
||||||
usage::capture("ServeHealth", &state).await;
|
usage::capture("ServeHealth", &state).await;
|
||||||
sleep(Duration::from_secs(300)).await;
|
sleep(Duration::from_secs(3000)).await;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue