Skip to content

Commit 596d029

Browse files
committed
bug fix
1 parent d6a0425 commit 596d029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/core/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929
from .db.database import Base
3030
from .db.database import async_engine as engine
31-
from .utils import cache, queue, rate_limit
31+
from .utils import cache, queue
3232

3333

3434
# -------------- database --------------
@@ -62,7 +62,7 @@ async def create_redis_rate_limit_pool() -> None:
6262

6363

6464
async def close_redis_rate_limit_pool() -> None:
65-
await rate_limit.client.aclose() # type: ignore
65+
await rate_limiter.client.aclose() # type: ignore
6666

6767

6868
# -------------- application --------------

0 commit comments

Comments
 (0)