mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +03:00
reformat: black formation
This commit is contained in:
parent
f4f80ce354
commit
c2f2027d5f
1 changed files with 1 additions and 3 deletions
|
@ -65,9 +65,7 @@ class RateLimiter:
|
||||||
if bucket.remaining == 0:
|
if bucket.remaining == 0:
|
||||||
sleep_time = time() - bucket.since_timestamp + bucket.reset_after
|
sleep_time = time() - bucket.since_timestamp + bucket.reset_after
|
||||||
|
|
||||||
_logger.info(
|
_logger.info("Waiting until rate limit for bucket %s is over.", bucket_id)
|
||||||
"Waiting until rate limit for bucket %s is over.", bucket_id
|
|
||||||
)
|
|
||||||
|
|
||||||
await sleep(sleep_time)
|
await sleep(sleep_time)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue