mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: redis adapter async close
This commit is contained in:
parent
b383535d0f
commit
c91eda3d71
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ class RedisStorage2(BaseStorage):
|
|||
|
||||
async def close(self):
|
||||
if self._redis:
|
||||
return self._redis.close()
|
||||
return await self._redis.close()
|
||||
|
||||
async def wait_closed(self):
|
||||
if self._redis:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue