nextcloud/build
Louis Chemineau 9b5d11845a
feat(files_trashbin): Refactor expire background job to support parallel run
- Follow-up of #51600

The original PR introduced the possibility to continue an `ExpireTrash` job by saving the offset. This was to prevent having to start over the whole user list when the job crashed or was killed.

But on big instances, one process is not enough to go through all the users in a timely manner. Supporting parallel run allows covering more ground faster.

This PR introduced this possibility. We are now storing the offset right away to allow another parallel job to pick up the task at that point. We are arbitrarily cutting the user list in chunk of 10 to not drastically overflow the 30 minutes time limit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-08 12:33:25 +02:00
..
.ci-conf Adding magic file to enable oci on pull request testing on ci.owncloud.org 2015-03-20 15:00:51 +01:00
integration fix(dav): ensure moving or copying a file is possible 2025-09-02 16:23:47 +02:00
psalm feat(since-checker): check statement for /lib/public/migration/attributes 2025-09-03 22:27:59 -01:00
stubs perf: Add config options to trigger individual and sample profiling using excimer 2025-04-22 08:57:02 +02:00
.htaccess chore: Add SPDX header 2024-06-06 22:53:41 +02:00
autoloaderchecker.sh ci: add check to ensure composer-bin is not accidentally committed 2025-04-15 13:20:37 +02:00
build.xml chore: Add SPDX header 2024-05-10 11:07:50 +02:00
ca-bundle-etag.txt fix(security): Update CA certificate bundle 2025-08-14 02:43:58 +00:00
ca-bundle-etag.txt.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
compile-handlebars-templates.sh chore(files): Remove legacy UI scripts now that everything is migrated to Vue 2024-09-20 13:46:39 +02:00
files-checker.php chore: add window.d.ts to release ignore list 2025-08-20 16:21:34 +02:00
gen-coverage-badge.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
htaccess-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:12:29 +01:00
image-optimization.sh chore: Add SPDX header 2024-05-27 14:53:40 +02:00
jsdocs9.tar.bz2 Update integration tests for system tags with groups 2016-05-20 17:56:02 +02:00
jsdocs9.tar.bz2.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
license.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
merge-font-noto-fix-merging-v20201206-phase3-76b29f8f8f9b.patch Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
merge-font-noto-fix-merging-v20201206-phase3-76b29f8f8f9b.patch.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
merge-font-noto.sh chore: Add SPDX header 2024-05-27 14:53:40 +02:00
npm-post-build.sh Update build/npm-post-build.sh 2024-06-14 08:53:02 +02:00
openapi-checker.sh feat(openapi): Generate merged spec for all apps 2025-03-24 16:38:17 +01:00
phpDocumentor.sh chore: Add SPDX header 2024-05-27 14:53:40 +02:00
psalm-baseline-ocp.xml refactor: migrate from OC to OCP in public interfaces 2025-05-15 16:17:47 +02:00
psalm-baseline-security.xml fix: Fix psalm taint false-positives by small refactorings 2025-02-17 18:08:23 +01:00
psalm-baseline.xml feat(files_trashbin): Refactor expire background job to support parallel run 2025-09-08 12:33:25 +02:00
psalm-checker.sh chore: adjust copyright year 2025-04-07 14:40:37 +02:00
rector.php chore: add rector DataProviderAnnotationToAttributeRector 2025-07-01 22:45:06 +02:00
translation-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:12:29 +01:00
triple-dot-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:12:29 +01:00
update-apps.sh fix(build): Allow update-apps.sh script to work with non-master branches 2024-08-20 15:33:00 +02:00
update.sh chore: Add SPDX header 2024-05-27 14:53:40 +02:00
WebpackSPDXPlugin.js chore: adjust webpack plugin to also extract inline asset licenses 2025-08-19 16:01:30 +00:00