Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ namespace ModlinksShaVerifier
{
internal static class Program
{
private static readonly HttpClient _Client = new();
private static readonly HttpClient _Client = new()
{
Timeout = TimeSpan.FromMinutes(30)
};

private static string ShaToString(byte[] hash)
=> BitConverter.ToString(hash).Replace("-", "").ToLowerInvariant();
Expand Down Expand Up @@ -75,7 +78,7 @@ internal static async Task<int> Main(string[] args)
var reader = XmlReader.Create(path, new XmlReaderSettings {Async = true});

var serializer = new XmlSerializer(typeof(Manifest));

List<Task<bool>> checks = new();

while (await reader.ReadAsync())
Expand Down