nextcloud/lib/private/TaskProcessing
Yoan Bozhilov aa5f45cecd fix(taskprocessing): claim tasks atomically with SKIP LOCKED + composite index
Replace the worker retry/ignore-list claim-loop with a single atomic
SELECT ... FOR UPDATE SKIP LOCKED claim (SQLite bounded-retry fallback),
preserving the no-duplicate guarantee while removing the thundering-herd
contention that throttled backlog draining. Add a (status,type,last_updated)
index via the table-creating migration + db:add-missing-indices listener.

Signed-off-by: Yoan Bozhilov <bygadd@gmail.com>
Assisted-by: Claude Code:claude-opus-4-8
2026-06-17 19:00:53 +02:00
..
Db fix(taskprocessing): claim tasks atomically with SKIP LOCKED + composite index 2026-06-17 19:00:53 +02:00
Manager.php fix(taskprocessing): claim tasks atomically with SKIP LOCKED + composite index 2026-06-17 19:00:53 +02:00
RemoveOldTasksBackgroundJob.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
SynchronousBackgroundJob.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00