mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 18:12:56 +08:00
Update outdated comment
This commit is contained in:
parent
e86e9bfae6
commit
261c250b46
@ -133,7 +133,7 @@ namespace osu.Game.Screens.Multi.RealtimeMultiplayer
|
|||||||
|
|
||||||
await client.ChangeState(MultiplayerUserState.FinishedPlay);
|
await client.ChangeState(MultiplayerUserState.FinishedPlay);
|
||||||
|
|
||||||
// Await up to 30 seconds for results to become available (3 api request timeouts).
|
// Await up to 60 seconds for results to become available (6 api request timeouts).
|
||||||
// This is arbitrary just to not leave the player in an essentially deadlocked state if any connection issues occur.
|
// This is arbitrary just to not leave the player in an essentially deadlocked state if any connection issues occur.
|
||||||
await Task.WhenAny(resultsReady.Task, Task.Delay(TimeSpan.FromSeconds(60)));
|
await Task.WhenAny(resultsReady.Task, Task.Delay(TimeSpan.FromSeconds(60)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user