1
0
Çatalla 0
şundan çatallanmış LengKundee/MQL5-Google-Onedrive
MQL5-Google-Onedrive/render.yaml
google-labs-jules[bot] 9d93a21039 Bolt: Optimize health check endpoint
💡 What: Separated the /health endpoint from the main dashboard rendering logic. It now returns a lightweight JSON response.
🎯 Why: The previous implementation rendered the full Markdown dashboard for every health check, consuming unnecessary CPU and I/O resources during frequent polling.
📊 Impact: Reduces health check processing time from file reading + markdown parsing (~milliseconds) to a simple JSON return (~microseconds).
🔬 Measurement: Verified with new test script scripts/test_web_dashboard.py and updated render.yaml/app.yaml to use the new endpoint.
2026-01-21 05:17:23 +00:00

13 satır
356 B
YAML

services:
- type: web
name: mql5-automation
env: python
buildCommand: pip install -r requirements.txt || echo "No requirements"
startCommand: python scripts/startup_orchestrator.py --monitor 0
envVars:
- key: PYTHONUNBUFFERED
value: 1
- key: TZ
value: UTC
healthCheckPath: /health
autoDeploy: true