You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* First: The implementation of the ExitTimerCallback checks the queue during a while() loop, but then again at a subsequent if(). This is unnecessary, but also this if()’s TryPeek() output may be past-due, resulting in a negative number in timeUntilNextCheck.
* Second: Environment.TickCount rolls over every 24.9 days, which can also mess with constant-up service deployments.
More info: http://www.jackleitch.net/2010/10/better-rate-limiting-with-dot-net/#comment-3620
Signed-off-by: sjdirect <sjdirect@gmail.com>
0 commit comments