fix(#2290): drop redundant async blocks around sync_tmpfiles spawn
This commit is contained in:
parent
949bab62d3
commit
ae3ecc1de2
3 changed files with 3 additions and 5 deletions
|
|
@ -286,9 +286,7 @@ async fn cmd_serve(
|
|||
// Sync /etc/tmpfiles.d/hyperhive-agents.conf so agent runtime dirs are
|
||||
// pre-declared for the next boot. Best-effort background task — a failure
|
||||
// here must not block hive-c0re startup. See lifecycle::sync_tmpfiles.
|
||||
tokio::spawn(async {
|
||||
hive_c0re::lifecycle::sync_tmpfiles().await;
|
||||
});
|
||||
tokio::spawn(hive_c0re::lifecycle::sync_tmpfiles());
|
||||
// Auto-update in the background — don't block service start.
|
||||
// Sub-agent rebuilds can take tens of seconds; we want the admin
|
||||
// socket up immediately.
|
||||
|
|
|
|||
Loading…
Reference in a new issue