Diagnóstico y fix SQL Server: SERVERNAME, TDS_Version, Puerto explicitos

This commit is contained in:
desoladorxx
2026-07-22 16:11:54 -05:00
commit cd18c4ca5e
48 changed files with 8389 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# diag_plantillas.py — Verifica otros_general (endpoint liviano).
import time, services as S
for mes in ["TODOS", "1", "2"]:
t0 = time.time()
d = S.otros_general("2026", mes, "TODOS")
seg = time.time() - t0
p = d["matriz_plantillas"]["total"]
print(f"MES {mes:6} ({seg:.1f}s) plantillas_env={p['enviadas']} matric={p['matriculas']} "
f"always_filas={len(d['matriz_always']['filas'])} webform_filas={len(d['matriz_webform']['filas'])} "
f"asignados_total={d['matriz_asignados']['total']}")
print("OK. (2da vez el mismo mes debe ser instantaneo por cache)")