1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Give deploy uploads more time before dying.

This commit is contained in:
Dean Herbert 2017-03-14 20:23:18 +09:00
parent 31c41e3e14
commit c192de9ebd
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -198,7 +198,7 @@ namespace osu.Desktop.Deploy
write($"- Creating release {version}...", ConsoleColor.Yellow); write($"- Creating release {version}...", ConsoleColor.Yellow);
var req = new JsonWebRequest<GitHubRelease>($"{GitHubApiEndpoint}") var req = new JsonWebRequest<GitHubRelease>($"{GitHubApiEndpoint}")
{ {
Method = HttpMethod.POST Method = HttpMethod.POST,
}; };
req.AddRaw(JsonConvert.SerializeObject(new GitHubRelease req.AddRaw(JsonConvert.SerializeObject(new GitHubRelease
{ {
@ -215,6 +215,7 @@ namespace osu.Desktop.Deploy
var upload = new WebRequest(assetUploadUrl, Path.GetFileName(a)) var upload = new WebRequest(assetUploadUrl, Path.GetFileName(a))
{ {
Method = HttpMethod.POST, Method = HttpMethod.POST,
Timeout = 240000,
ContentType = "application/octet-stream", ContentType = "application/octet-stream",
}; };