fix: use heartbeat runtime instead of background runtime (#4445)

This commit is contained in:
Weny Xu
2024-07-29 11:29:30 +08:00
committed by GitHub
parent 9a5fa49955
commit 164232e073

View File

@@ -286,7 +286,7 @@ impl CountdownTaskHandle {
region_id,
rx,
};
let handler = common_runtime::spawn_bg(async move {
let handler = common_runtime::spawn_hb(async move {
countdown_task.run().await;
});