client: replace spawn_local with spawn

This commit is contained in:
Luna Yao
2026-02-22 01:10:53 +01:00
parent 5457adb533
commit 5372596432
+1 -1
View File
@@ -90,6 +90,6 @@ impl DnsClient {
let peer_id = peer_info.peer_id;
let digest = peer_info.dns.clone();
self.tasks
.spawn_local(async move { mgr.refresh(peer_id, digest).await });
.spawn(async move { mgr.refresh(peer_id, digest).await });
}
}