Actualizar backend/main.py

This commit is contained in:
2026-08-31 14:59:07 -05:00
parent 2e8df64814
commit 01ef6a7c16

View File

@@ -34,7 +34,7 @@ def _startup():
except Exception as e: except Exception as e:
print(f"[startup] Precarga falló: {e}") print(f"[startup] Precarga falló: {e}")
# Refresco cada 4 min en segundo plano (TTL del caché es 5 min) # Refresco cada 4 min en segundo plano (TTL del caché es 5 min)
start_background_refresh(services.refrescar_todo, interval=900) start_background_refresh(services.refrescar_todo, interval=1800)
# ── Salud / utilidades ───────────────────────────────────────────────────── # ── Salud / utilidades ─────────────────────────────────────────────────────