Remove sleep that seems unnecessary

This commit is contained in:
Franck Royer 2020-12-21 10:25:36 +11:00
parent 4a4e23038b
commit 2abf65f3b6
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -72,8 +72,6 @@ impl EventLoopHandle {
debug!("Attempt to dial Alice {}", peer_id); debug!("Attempt to dial Alice {}", peer_id);
let _ = self.dial_alice.send(peer_id).await?; let _ = self.dial_alice.send(peer_id).await?;
std::thread::sleep(std::time::Duration::from_millis(100));
self.conn_established self.conn_established
.recv() .recv()
.await .await