mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-01 16:34:17 +02:00
#62 more debug-logging
Instead of assigning buffer copy directy from result to filestream
This commit is contained in:
@ -30,7 +30,10 @@ internal abstract class DownloadClient : GlobalBase
|
||||
.Subtract(DateTime.Now.Subtract(_lastExecutedRateLimit[requestType]));
|
||||
|
||||
if (rateLimitTimeout > TimeSpan.Zero)
|
||||
{
|
||||
Log($"Waiting {rateLimitTimeout.TotalSeconds} seconds");
|
||||
Thread.Sleep(rateLimitTimeout);
|
||||
}
|
||||
|
||||
RequestResult result = MakeRequestInternal(url, referrer);
|
||||
_lastExecutedRateLimit[requestType] = DateTime.Now;
|
||||
|
Reference in New Issue
Block a user