Skip to content

Commit 0a85004

Browse files
authored
Added shutdown events handling.
2 parents 0a01e2e + 4da07af commit 0a85004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

taskiq_redis/redis_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def __init__(self, redis_url: str, keep_results: bool = True):
2424
async def shutdown(self) -> None:
2525
"""Closes redis connection."""
2626
await self.redis_pool.disconnect()
27+
await super().shutdown()
2728

2829
async def set_result(
2930
self,

0 commit comments

Comments
 (0)