diff options
author | Alex Auvolat <alex@adnab.me> | 2021-10-12 13:07:34 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-10-12 13:07:34 +0200 |
commit | 7753b789b7aca87db4db7aed20e79a41ecb0b225 (patch) | |
tree | f5b67a3d52736eb60d88cdd8772957ada62654fb /src/peering/fullmesh.rs | |
parent | 90f8fb28361cba1087a0e608e8a8deb6abb5bd39 (diff) | |
download | netapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.tar.gz netapp-7753b789b7aca87db4db7aed20e79a41ecb0b225.zip |
Upgrade to tokio 1.0
Diffstat (limited to 'src/peering/fullmesh.rs')
-rw-r--r-- | src/peering/fullmesh.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peering/fullmesh.rs b/src/peering/fullmesh.rs index a4b9248..9b55180 100644 --- a/src/peering/fullmesh.rs +++ b/src/peering/fullmesh.rs @@ -241,7 +241,7 @@ impl FullMeshPeeringStrategy { } // 4. Sleep before next loop iteration - tokio::time::delay_for(LOOP_DELAY).await; + tokio::time::sleep(LOOP_DELAY).await; } } |