Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
build_strategy_plugin_alert_context_label as build_alert_context_label,
publish_strategy_plugin_alerts as dispatch_strategy_plugin_alerts,
)
from quant_platform_kit.common.health import register_health_endpoint
from quant_platform_kit.common.runtime_assembly import build_runtime_assembly
from quant_platform_kit.common.runtime_reports import (
append_runtime_report_error,
Expand Down Expand Up @@ -83,7 +82,6 @@
from strategy_runtime import load_strategy_runtime

app = Flask(__name__)
register_health_endpoint(app) # GET /health /healthz
ensure_event_loop = ibkr_ensure_event_loop
NEW_YORK_TZ = ZoneInfo("America/New_York")
STRATEGY_RUN_LOCK = threading.Lock()
Expand Down Expand Up @@ -1466,6 +1464,7 @@ def handle_monitor_dispatch():
)


@app.route("/healthz", methods=["GET"])
@app.route("/health", methods=["GET"])
def health():
critical_errors: list[str] = []
Expand Down
Loading