mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-28 12:07:59 +00:00
Various bits and pieces to address PR comments
This commit is contained in:
@@ -93,7 +93,7 @@ pub async fn connect(uri: &http::Uri) -> Result<(Sender, Receiver), ConnectError
|
||||
let path = uri.path();
|
||||
|
||||
let socket = TcpStream::connect((host, port)).await?;
|
||||
socket.set_nodelay(true).unwrap();
|
||||
socket.set_nodelay(true).expect("socket set_nodelay failed");
|
||||
|
||||
// Establish a WS connection:
|
||||
let mut client = Client::new(socket.compat(), host, &path);
|
||||
|
||||
Reference in New Issue
Block a user