Increase timeout duration from 2 to 3 seconds (#1075)

This commit is contained in:
Logan McNaughton 2026-06-14 12:50:35 +02:00 committed by GitHub
parent 6d6349c79d
commit d62d4c852a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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