We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6a0425 + 596d029 commit 647ce58Copy full SHA for 647ce58
src/app/core/setup.py
@@ -28,7 +28,7 @@
28
)
29
from .db.database import Base
30
from .db.database import async_engine as engine
31
-from .utils import cache, queue, rate_limit
+from .utils import cache, queue
32
33
34
# -------------- database --------------
@@ -62,7 +62,7 @@ async def create_redis_rate_limit_pool() -> None:
62
63
64
async def close_redis_rate_limit_pool() -> None:
65
- await rate_limit.client.aclose() # type: ignore
+ await rate_limiter.client.aclose() # type: ignore
66
67
68
# -------------- application --------------
0 commit comments