summaryrefslogtreecommitdiff
path: root/services/order-executor/src/order_executor/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/order-executor/src/order_executor/main.py')
-rw-r--r--services/order-executor/src/order_executor/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/order-executor/src/order_executor/main.py b/services/order-executor/src/order_executor/main.py
index 32470f6..1eeee7b 100644
--- a/services/order-executor/src/order_executor/main.py
+++ b/services/order-executor/src/order_executor/main.py
@@ -60,7 +60,9 @@ async def run() -> None:
last_id = "$"
stream = "signals"
- health = HealthCheckServer("order-executor", port=config.health_port + 2, auth_token=config.metrics_auth_token)
+ health = HealthCheckServer(
+ "order-executor", port=config.health_port + 2, auth_token=config.metrics_auth_token
+ )
health.register_check("redis", broker.ping)
await health.start()
metrics.service_up.labels(service="order-executor").set(1)