Skip to content

Commit

Permalink
Merge pull request #307 from powerapi-ng/fix/puller-thread-stop
Browse files Browse the repository at this point in the history
fix(puller): Set database puller thread as daemon
  • Loading branch information
gfieni authored Apr 12, 2024
2 parents 498b0bf + f232ad1 commit aea023d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/powerapi/puller/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class DBPullerThread(Thread):
"""

def __init__(self, state, timeout, handler):
Thread.__init__(self)
Thread.__init__(self, daemon=True)
self.timeout = timeout
self.state = state
self.loop = None
Expand Down

0 comments on commit aea023d

Please sign in to comment.