Reduce time waited on a score submission token from 60 to 30s

This commit is contained in:
Dean Herbert 2022-11-18 14:07:40 +09:00
parent 2fb93fd46c
commit e4d134a820

View File

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