Open holasoftware opened 1 year ago
If len(self.calls) >= max_calls and the last call is long time ago, the algorithm is awaiting unnecessarily.
len(self.calls) >= max_calls
Based on the comments in this thread https://github.com/RazerM/ratelimiter/issues/15
If
len(self.calls) >= max_calls
and the last call is long time ago, the algorithm is awaiting unnecessarily.Based on the comments in this thread https://github.com/RazerM/ratelimiter/issues/15