From 6a738ba0d708eb1bbd44499f09f09ef5b5f84054 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 28 Oct 2025 10:51:36 +0100 Subject: [PATCH] Speed up worker check from 1 per second to 3x per second --- changedetectionio/async_update_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/async_update_worker.py b/changedetectionio/async_update_worker.py index ed090320b..04183ecce 100644 --- a/changedetectionio/async_update_worker.py +++ b/changedetectionio/async_update_worker.py @@ -39,7 +39,7 @@ async def async_update_worker(worker_id, q, notification_q, app, datastore): try: # Use native janus async interface - no threads needed! - queued_item_data = await asyncio.wait_for(q.async_get(), timeout=1.0) + queued_item_data = await asyncio.wait_for(q.async_get(), timeout=0.3) except asyncio.TimeoutError: # No jobs available, continue loop