feat: monitor sweep, real MB browser, and worker-loop wiring

This commit is contained in:
Jonathan
2026-07-11 12:35:07 +02:00
parent 1f23aaa0e8
commit 133f6219ae
6 changed files with 118 additions and 1 deletions
+6
View File
@@ -172,3 +172,9 @@ def reconcile(conn: psycopg.Connection, job_id: str, cfg: MonitorConfig) -> None
(quality, new_state, rel_id),
)
conn.commit()
def sweep(conn: psycopg.Connection, browser: MbBrowser, cfg: MonitorConfig) -> None:
"""One monitor pass: discover new releases, then enqueue everything due."""
discover(conn, browser, cfg)
enqueue_due(conn, cfg)