mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
fix: fix appsidebar on mobile
This commit is contained in:
parent
aed5a782fb
commit
9e058699c5
3 changed files with 27 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ class RateLimiter:
|
|||
|
||||
def __init__(self):
|
||||
self.redis_client: Optional[aioredis.Redis] = None
|
||||
self.stale_call_timeout = 300 # 5 minutes in seconds
|
||||
self.stale_call_timeout = 1200 # 20 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