We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1229b5d + 461e2a7 commit 6b8d8f4Copy full SHA for 6b8d8f4
Source/FikaAmazonAPI/Utils/RateLimits.cs
@@ -55,7 +55,8 @@ public RateLimits NextRate(RateLimitType rateLimitType)
55
if (RequestsSent >= Burst)
56
{
57
LastRequest = LastRequest.AddMilliseconds(ratePeriodMs);
58
- while (LastRequest >= DateTime.UtcNow) //.AddMilliseconds(-100)
+ var TempLastRequest = LastRequest;
59
+ while (TempLastRequest >= DateTime.UtcNow) //.AddMilliseconds(-100)
60
Task.Delay(100).Wait();
61
62
}
0 commit comments