Remove connect loop
This commit is contained in:
parent
dadc13feb4
commit
f588f5d368
|
@ -111,10 +111,8 @@ impl ConnectCmd {
|
|||
tail.extend_from_slice(&addrs[addrs.len() - 5..]);
|
||||
info!(addrs.first = ?head, addrs.last = ?tail);
|
||||
|
||||
loop {
|
||||
// empty loop ensures we don't exit the application,
|
||||
// and this is throwaway code
|
||||
}
|
||||
let eternity = tokio::future::pending::<()>();
|
||||
eternity.await;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue