Skip to content

Commit

Permalink
CPU sampling thread should run as daemon thread
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Oct 6, 2016
1 parent 56d782b commit 5a747bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esrally/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ def attach_to_node(self, node):
def on_benchmark_start(self):
if self.node:
self.sampler = SampleCpuUsage(self.node, self._metrics_store)
self.sampler.daemon = True
self.sampler.start()

def on_benchmark_stop(self):
Expand Down

0 comments on commit 5a747bc

Please sign in to comment.