Skip to content

Commit

Permalink
fix: set threading daemon true
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl0ven committed Jan 10, 2023
1 parent ec74720 commit bfe174c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_dynamic_sampling_lib/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, stop, config, metric, *args, **kwargs) -> None:
self.config: Config = config
self.metrics: Metric = metric
self.session = CachedSession(backend="memory", cache_control=True)
super().__init__(*args, name="SentryControllerClient", **kwargs)
super().__init__(*args, name="SentryControllerClient", daemon=True, **kwargs)

def run(self):
# HACK: Django change the timezone mid startup
Expand Down

0 comments on commit bfe174c

Please sign in to comment.