mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Use AllowRetryOnTimeout where to maintain previous functionality
This commit is contained in:
parent
b59401357e
commit
f94505243d
@ -99,6 +99,7 @@ namespace osu.Game.Online.API
|
||||
throw new TimeoutException(@"API request timeout hit");
|
||||
|
||||
WebRequest = CreateWebRequest();
|
||||
WebRequest.AllowRetryOnTimeout = false;
|
||||
WebRequest.Headers[@"Authorization"] = $@"Bearer {api.AccessToken}";
|
||||
|
||||
if (checkAndProcessFailure())
|
||||
|
Loading…
Reference in New Issue
Block a user