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.
1 parent 2853a69 commit a9805d8Copy full SHA for a9805d8
RedditSharp/WebAgent.cs
@@ -152,7 +152,7 @@ private static void EnforceRateLimit()
152
if (_requestsThisBurst >= 5) //limit has been reached
153
{
154
while ((DateTime.UtcNow - _burstStart).TotalSeconds < 10)
155
- Thread.Sleep(100);
+ Thread.Sleep(250);
156
_burstStart = DateTime.UtcNow;
157
}
158
_requestsThisBurst++;
0 commit comments