mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 01:37:46 +08:00
Increase score submission request timeout to 60s
This commit is contained in:
parent
1aac978a7b
commit
fd979a52fe
@ -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 = 60000;
|
||||||
|
|
||||||
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 = 60000;
|
||||||
|
|
||||||
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
req.AddRaw(JsonConvert.SerializeObject(score, new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user