Live models: the labelled members are saved once per build and version, prepared by the indicators cycle and loaded by each API worker as it starts

This commit is contained in:
Roberto Treviño Cervantes
2026-11-22 22:02:04 -06:00
parent f7f8af8b4c
commit f97d1202a9
5 changed files with 119 additions and 3 deletions
+2
View File
@@ -49,6 +49,8 @@ ENV MLFLOW_DISABLE_TELEMETRY=true DO_NOT_TRACK=true
# Aggregate import log and the live indicator queue (webapi.recomputation).
ENV WEBAPI_REPORT_DIR=/data/reportes
ENV INDICADORES_DIR=/data/indicadores
# Each API worker loads the live models' members as it starts (`webapi.model_analysis.warm`).
ENV WEBAPI_PRECALENTAR_MODELOS=1
ENV MLFLOW_DISABLE_AGENT_HINT=1
# Without it the measure routes (/<domain>/indicadores, /<domain>/fhir) aren't
# registered. The entrypoint replaces it with one compiled against the