Skip to content

Commit 3a1770d

Browse files
committed
Fixed shutdown events support.
Signed-off-by: Pavel Kirilin <win10@list.ru>
1 parent 4a0c4fe commit 3a1770d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
if: matrix.py_version == '3.9'
8080
with:
8181
token: ${{ secrets.CODECOV_TOKEN }}
82-
fail_ci_if_error: true
82+
fail_ci_if_error: false
8383
verbose: true
8484
- name: Stop containers
8585
if: always()

taskiq_nats/broker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ async def listen(self) -> AsyncGenerator[BrokerMessage, None]:
7979
async def shutdown(self) -> None:
8080
"""Close connections to NATS."""
8181
await self.client.close()
82+
await super().shutdown()

0 commit comments

Comments
 (0)