File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626from runtime_execution_policy import dca_execution_unsupported_reason
2727from runtime_config_support import load_platform_runtime_settings
2828from notifications .telegram import build_signal_text , build_strategy_display_name , build_translator
29- from quant_platform_kit .common .health import register_health_endpoint
3029from quant_platform_kit .common .runtime_reports import (
3130 append_runtime_report_error ,
3231 build_runtime_report_base ,
5857from decision_mapper import map_strategy_decision_to_plan
5958
6059app = Flask (__name__ )
61- register_health_endpoint (app ) # GET /health /healthz
6260
6361# ---------------------------------------------------------------------------
6462# Config and constants (GCP project, Telegram, execution and strategy params)
@@ -901,6 +899,7 @@ def request_method() -> str:
901899 return "GET"
902900
903901
902+ @app .route ("/healthz" , methods = ["GET" ])
904903@app .route ("/health" , methods = ["GET" ])
905904def health ():
906905 critical_errors : list [str ] = []
You can’t perform that action at this time.
0 commit comments