mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Reduce time waited on a score submission token from 60 to 30s
This commit is contained in:
parent
2fb93fd46c
commit
e4d134a820
@ -85,7 +85,7 @@ namespace osu.Game.Screens.Play
|
||||
api.Queue(req);
|
||||
|
||||
// Generally a timeout would not happen here as APIAccess will timeout first.
|
||||
if (!tcs.Task.Wait(60000))
|
||||
if (!tcs.Task.Wait(30000))
|
||||
req.TriggerFailure(new InvalidOperationException("Token retrieval timed out (request never run)"));
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user