mirror of https://github.com/ppy/osu
Update outdated comment
This commit is contained in:
parent
e86e9bfae6
commit
261c250b46
|
@ -133,7 +133,7 @@ protected override async Task SubmitScore(Score score)
|
|||
|
||||
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.
|
||||
await Task.WhenAny(resultsReady.Task, Task.Delay(TimeSpan.FromSeconds(60)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue