reformatted
This commit is contained in:
@@ -5,4 +5,8 @@ These are implementations of different (in-application) rate limiting algorithms
|
||||
because it might refer to IP address, a session ID, or perhaps an API key or token.
|
||||
"""
|
||||
from .token_bucket import token_bucket_in_memory_lazy_refill, TooManyRequests
|
||||
from .leaky_bucket import leaking_bucket_dequeue, leaking_bucket_enqueue, RUN_LEAKING_BUCKET_TASKS_EVERY_X_SECONDS
|
||||
from .leaky_bucket import (
|
||||
leaking_bucket_dequeue,
|
||||
leaking_bucket_enqueue,
|
||||
RUN_LEAKING_BUCKET_TASKS_EVERY_X_SECONDS,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user