]> source.dussan.org Git - nextcloud-server.git/commit
Do chuncked job deletion 30768/head
authorCarl Schwan <carl@carlschwan.eu>
Thu, 20 Jan 2022 09:47:00 +0000 (10:47 +0100)
committerCarl Schwan <carl@carlschwan.eu>
Thu, 17 Mar 2022 20:41:58 +0000 (21:41 +0100)
commitc870bd1968841f3141ec29e42f37f4608955bc88
tree011bda6e63adf003061be34ef1417867e082b947
parent6b4ab04a4461ebfb3ee175d2f824a63e95ba021a
Do chuncked job deletion

This is helpful in cases where we are deleting tons jobs at the same
time in a gallera cluster. This doesn't happen often but this can create
issues.

Test plan:

1. Use https://github.com/nextcloud/quota_warning/pull/88
2. Change max to 1
3. Enabled/Disable quota_warning app and see jobs getting sucessfully
   added and removed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
lib/private/BackgroundJob/JobList.php
lib/public/DB/QueryBuilder/IQueryBuilder.php