mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
chore: add sort order in URL params
This commit is contained in:
parent
e8005042e2
commit
9824d88d53
7 changed files with 148 additions and 59 deletions
|
|
@ -13,7 +13,7 @@ class RateLimiter:
|
|||
|
||||
def __init__(self):
|
||||
self.redis_client: Optional[aioredis.Redis] = None
|
||||
self.stale_call_timeout = 1800 # 30 minutes in seconds
|
||||
self.stale_call_timeout = 300 # 5 minutes in seconds
|
||||
|
||||
async def _get_redis(self) -> aioredis.Redis:
|
||||
"""Get or create Redis connection"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue