1
0
mirror of https://github.com/avatao-content/baseimage-tutorial-framework synced 2025-04-05 07:42:40 +00:00

Remove obsolete TODO

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

@ -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()