mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 19:06:14 -08:00
client: replace spawn_local with spawn
This commit is contained in:
1 parent
5457adb533
commit
5372596432
1 file changed
+1
-1
@@ -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 });
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user