mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 01:27:20 +08:00
Merge pull request #16062 from smoogipoo/retry-score-submission-timeout
Increase score submission timeout
This commit is contained in:
commit
a076eda834
@ -31,6 +31,7 @@ namespace osu.Game.Online.Rooms
|
|||||||
|
|
||||||
req.ContentType = "application/json";
|
req.ContentType = "application/json";
|
||||||
req.Method = HttpMethod.Put;
|
req.Method = HttpMethod.Put;
|
||||||
|
req.Timeout = 30000;
|
||||||
|
|
||||||
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
|
@ -31,6 +31,7 @@ namespace osu.Game.Online.Solo
|
|||||||
|
|
||||||
req.ContentType = "application/json";
|
req.ContentType = "application/json";
|
||||||
req.Method = HttpMethod.Put;
|
req.Method = HttpMethod.Put;
|
||||||
|
req.Timeout = 30000;
|
||||||
|
|
||||||
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user