Skip to content

Commit

Permalink
The max request rate is 30 requests/second, not 2/s
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticEcho authored Aug 2, 2018
1 parent a59d887 commit 249eaf8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public QueuedRequest(Action<string> c, string u)
}
}

private static readonly TimeSpan waitTime = TimeSpan.FromSeconds(0.5);
private static readonly TimeSpan waitTime = TimeSpan.FromSeconds(1.0 / 30);
private static readonly ManualResetEvent queueMre = new ManualResetEvent(false);
private static readonly Queue<QueuedRequest> reqs;
private static bool dispose;
Expand Down

0 comments on commit 249eaf8

Please sign in to comment.