Compare commits

..

No commits in common. "4f9749d09ea9e4e50c845665380e5e7ce453da12" and "2538a297888faa20d49fb888e343d328aff6490a" have entirely different histories.

View File

@ -1,5 +1,4 @@
using System.Net;
using System.Net.Http.Headers;
using Logging;
namespace Tranga;
@ -8,14 +7,7 @@ internal class DownloadClient
{
private static readonly HttpClient Client = new()
{
Timeout = TimeSpan.FromSeconds(60),
DefaultRequestHeaders =
{
UserAgent =
{
new ProductInfoHeaderValue("Tranga", "0.1")
}
}
Timeout = TimeSpan.FromSeconds(60)
};
private readonly Dictionary<byte, DateTime> _lastExecutedRateLimit;