Corrected order of constructor (GlobalBase clone)

This commit is contained in:
2023-08-27 01:15:02 +02:00
parent 181942153b
commit 6e1a0ab06c
5 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@ internal class DownloadClient : GlobalBase
private readonly Dictionary<byte, DateTime> _lastExecutedRateLimit;
private readonly Dictionary<byte, TimeSpan> _rateLimit;
public DownloadClient(Dictionary<byte, int> rateLimitRequestsPerMinute, GlobalBase clone) : base(clone)
public DownloadClient(GlobalBase clone, Dictionary<byte, int> rateLimitRequestsPerMinute) : base(clone)
{
_lastExecutedRateLimit = new();
_rateLimit = new();