Skip to content

Commit b41f198

Browse files
committed
extend ws client timeout
1 parent 3a3a480 commit b41f198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ws/src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl WebSocketClient {
9898
tracing::info!("connect_async: {:?}", req.uri());
9999

100100
let (ws_stream, _) =
101-
tokio::time::timeout(std::time::Duration::from_secs(6), connect_async(req)).await??;
101+
tokio::time::timeout(std::time::Duration::from_secs(12), connect_async(req)).await??;
102102

103103
Ok(ws_stream)
104104
}

0 commit comments

Comments
 (0)