фикс3

This commit is contained in:
2026-04-24 17:08:49 +03:00
parent 054e44191a
commit 24bf2124b1

View File

@@ -316,7 +316,7 @@ def live_match_worker(match_row: dict, stop_event: threading.Event) -> None:
break break
try: try:
data = fetch_match_live_data(match_id) data = fetch_match_live_data(external_id)
errors_in_row = 0 errors_in_row = 0
except NotImplementedError: except NotImplementedError:
log(f"[worker] fetch_match_live_data() is not implemented for match_id={match_id}") log(f"[worker] fetch_match_live_data() is not implemented for match_id={match_id}")
@@ -393,7 +393,7 @@ def watch_today_matches_once() -> None:
log(f"[matches_loop] today matches found: {len(matches)}") log(f"[matches_loop] today matches found: {len(matches)}")
for match_row in matches: for match_row in matches:
match_id = match_row["external_id"] match_id = match_row["id"]
if not should_start_worker(match_row, now_naive): if not should_start_worker(match_row, now_naive):
continue continue