feat: filter exams by time window in SQL (last N minutes), default 10min

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-21 15:59:11 -05:00
co-authored by Claude Sonnet 4.6
parent 35859e8d75
commit a880b7fb81
2 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ async def startup():
query_defaults()
contratos_defaults()
_scheduler.add_job(sync_recientes, "interval", minutes=1, id="wa_sync_recientes",
max_instances=1, coalesce=True)
kwargs={"ventana_min": 10}, max_instances=1, coalesce=True)
_scheduler.start()