Skip to content

Commit

Permalink
fix(puller): Set database puller thread as daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
gfieni committed Apr 12, 2024
1 parent 498b0bf commit f232ad1
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)

Check warning on line 58 in src/powerapi/puller/handlers.py

View check run for this annotation

Codecov / codecov/patch

src/powerapi/puller/handlers.py#L58

Added line #L58 was not covered by tests
self.timeout = timeout
self.state = state
self.loop = None
Expand Down

0 comments on commit f232ad1

Please sign in to comment.