feat: monitor sweep, real MB browser, and worker-loop wiring
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user