v1.0.104: reset_contract + идемпотентность — очистка перед сравнением

This commit is contained in:
2026-06-22 08:35:54 +04:00
parent 82e587613e
commit c9a1f608ca
3 changed files with 34 additions and 2 deletions
+3
View File
@@ -107,6 +107,9 @@ class Handler(BaseHTTPRequestHandler):
t0 = time.time()
try:
# 0. Сброс предыдущих результатов сравнения
httpx.get(f"{LUCEE_URL}/reset_contract.cfm?contract_id={cid}", timeout=10)
# 1. Список supplements
supps = self._lucee_query(
f"SELECT s.id, s.type, d.filename FROM supplements s "