auto-sync: 2026-04-20 17:10:01

This commit is contained in:
Stream
2026-04-20 17:10:01 +03:00
parent e67182e11b
commit 67bbdfc7c2

View File

@@ -49,9 +49,8 @@ def daily_job():
try:
conn = get_conn()
flights = yandex_fetch_day(target, conn)
enriched = opensky_enrich_day(target, conn)
_last_run.update(status="ok", flights=flights, enriched=enriched)
log.info("daily_job: done — %d flights, %d enriched", flights, enriched)
_last_run.update(status="ok", flights=flights, enriched=0)
log.info("daily_job: done — %d flights", flights)
except Exception as e:
_last_run["status"] = f"error: {e}"
log.error("daily_job failed: %s", e)