Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
fix issue #36 - dnstap_receiver can not shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Jul 7, 2021
1 parent 45cdf4f commit 1c505b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dnstap_receiver/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ def start_shutdown_task(signal, loop, start_shutdown):
global shutdown_task
if not shutdown_task:
shutdown_task = asyncio.create_task(
shutdown(signal, loop, start_shutdown),
name='shutdown',
shutdown(signal, loop, start_shutdown)
)

async def shutdown(signal, loop, start_shutdown):
Expand Down

0 comments on commit 1c505b6

Please sign in to comment.