diff --git a/CHANGELOG.md b/CHANGELOG.md index a1536a8f9..87e8402fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Acquisition function indicator `is_mc` has been removed in favor of new indicators `supports_batching` and `supports_pending_experiments` -- Telemetry now runs in a daemon thread +- Telemetry now runs in a separate thread ### Fixed - Incorrect optimization direction with `PSTD` with a single minimization target diff --git a/baybe/telemetry/_telemetry.py b/baybe/telemetry/_telemetry.py index 68bf87803..42beba3b7 100644 --- a/baybe/telemetry/_telemetry.py +++ b/baybe/telemetry/_telemetry.py @@ -174,8 +174,8 @@ def test_connection() -> Exception | None: return ex -def daemon_task() -> None: - """The telemetry logic to be executed in the daemon thread.""" # noqa +def telemetry_task() -> None: + """The telemetry logic to be executed in a background thread.""" # noqa # Telemetry is inactive if not is_enabled(): transmission_queue.close() @@ -238,4 +238,4 @@ def submit_scalar_value(instrument_name: str, value: int | float) -> None: tools = TelemetryTools() transmission_queue = CloseableQueue() -Thread(target=daemon_task).start() +Thread(target=telemetry_task).start()