mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
Increase timeout duration from 2 to 3 seconds (#1075)
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ fn manage_websocket(
|
||||
.insert("Authorization", env!("NETPLAY_ID").parse().unwrap());
|
||||
tokio::spawn(async move {
|
||||
match tokio::time::timeout(
|
||||
std::time::Duration::from_secs(2),
|
||||
std::time::Duration::from_secs(3),
|
||||
tokio_tungstenite::connect_async(request),
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user