mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Reduce time waited on a score submission token from 60 to 30s
This commit is contained in:
@ -85,7 +85,7 @@ namespace osu.Game.Screens.Play
|
|||||||
api.Queue(req);
|
api.Queue(req);
|
||||||
|
|
||||||
// Generally a timeout would not happen here as APIAccess will timeout first.
|
// 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)"));
|
req.TriggerFailure(new InvalidOperationException("Token retrieval timed out (request never run)"));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user