summaryrefslogtreecommitdiff
path: root/services/data-collector/src/data_collector/main.py
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:28:14 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:28:14 +0900
commit72d29b4798f2594465f384982f0fc932a1f6c880 (patch)
treea140c639f8595f9631e49f30f38996044b9d3f5f /services/data-collector/src/data_collector/main.py
parent23e60d37f8f55386ab7c1378a50db11a9c386dc6 (diff)
fix: lint cleanup for API, combined strategy, and formatting
Diffstat (limited to 'services/data-collector/src/data_collector/main.py')
-rw-r--r--services/data-collector/src/data_collector/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/data-collector/src/data_collector/main.py b/services/data-collector/src/data_collector/main.py
index 81e13df..4384985 100644
--- a/services/data-collector/src/data_collector/main.py
+++ b/services/data-collector/src/data_collector/main.py
@@ -49,7 +49,9 @@ async def run() -> None:
on_candle=on_candle,
)
- health = HealthCheckServer("data-collector", port=config.health_port, auth_token=config.metrics_auth_token)
+ health = HealthCheckServer(
+ "data-collector", port=config.health_port, auth_token=config.metrics_auth_token
+ )
health.register_check("redis", broker.ping)
await health.start()
metrics.service_up.labels(service="data-collector").set(1)