Compare commits
No commits in common. "4f9749d09ea9e4e50c845665380e5e7ce453da12" and "2538a297888faa20d49fb888e343d328aff6490a" have entirely different histories.
4f9749d09e
...
2538a29788
@ -1,5 +1,4 @@
|
|||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Http.Headers;
|
|
||||||
using Logging;
|
using Logging;
|
||||||
|
|
||||||
namespace Tranga;
|
namespace Tranga;
|
||||||
@ -8,14 +7,7 @@ internal class DownloadClient
|
|||||||
{
|
{
|
||||||
private static readonly HttpClient Client = new()
|
private static readonly HttpClient Client = new()
|
||||||
{
|
{
|
||||||
Timeout = TimeSpan.FromSeconds(60),
|
Timeout = TimeSpan.FromSeconds(60)
|
||||||
DefaultRequestHeaders =
|
|
||||||
{
|
|
||||||
UserAgent =
|
|
||||||
{
|
|
||||||
new ProductInfoHeaderValue("Tranga", "0.1")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
private readonly Dictionary<byte, DateTime> _lastExecutedRateLimit;
|
private readonly Dictionary<byte, DateTime> _lastExecutedRateLimit;
|
||||||
|
Loading…
Reference in New Issue
Block a user