Remove obsolete TODO

This commit is contained in:
Kristóf Tóth 2018-02-13 16:29:45 +01:00
parent 1d47ca5684
commit 5213152477

View File

@ -47,7 +47,7 @@ class RateLimiter:
fun(*args, **kwargs)
return wrapper
def _limit_rate(self): #TODO: pls review me :3
def _limit_rate(self):
since_last_call = time() - self.last_call
to_next_call = self.min_interval - since_last_call
self.last_call = time()