mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-28 16:26:42 +00:00
Speed up worker check from 1 per second to 3x per second
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user