nextcloud/lib/public/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
..
Events fix(taskprocessing): use the event for AppAPI to get list of AI providers 2025-04-09 15:47:48 +03:00
Exception fix: Fix psalm issue 2025-10-30 10:49:28 +01:00
TaskTypes Merge pull request #60171 from nextcloud/feat/task/reformat-paragraphs 2026-05-08 04:21:20 -04:00
EShapeType.php docs(ocp): Add since tag 2026-04-28 11:17:27 +02:00
IInternalTaskType.php feat(TaskProcessing): Introduce internal task types 2025-10-13 11:07:40 +02:00
IManager.php fix(taskprocessing): claim tasks atomically with SKIP LOCKED + composite index 2026-06-17 19:00:53 +02:00
IProvider.php feat(TaskProcessing): Implement enums and default values 2024-07-25 10:10:31 +02:00
ISynchronousProvider.php fix(activity): Fix activity object type warnings 2024-11-27 10:54:15 +01:00
ISynchronousWatermarkingProvider.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00
ITaskType.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITriggerableProvider.php feat(TaskProcessing): Introduce ITriggerableProvider 2025-10-20 15:59:25 +02:00
ShapeDescriptor.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00
ShapeEnumValue.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00
Task.php chore(ocp): add Override attribute to all OCP classes 2026-04-28 21:29:27 +02:00