fix(performance): Do not set up filesystem on every call#36589
fix(performance): Do not set up filesystem on every call#36589juliusknorr merged 5 commits intomasterfrom
Conversation
a0a28a9 to
aadd950
Compare
| public function run($argument) { | ||
| $this->userManager->callForSeenUsers(function (IUser $user): void { | ||
| $this->logger->debug('Running chunk cleanup job for user '. $user->getUID()); | ||
| $fileCache = new File(); |
Check notice
Code scanning / Psalm
DeprecatedClass
| /** | ||
| * This job cleans up all backups except the latest 3 from the updaters backup directory | ||
| */ | ||
| public function run($argument): void { |
Check notice
Code scanning / Psalm
MissingParamType
ac9d919 to
60f1f7f
Compare
a7e914a to
a7b96c5
Compare
a90f63e to
0b25e61
Compare
6473d0d to
1a7041e
Compare
756cc5e to
270828b
Compare
|
/rebase |
21d3ea8 to
cbdd2b2
Compare
15b85a1 to
248c224
Compare
|
Last commit seems to indeed break subfolder listing of mount points :/ Needs another dive into why Depth > 0 requests for dav fail with shares being moved into those subfolders without that then. |
Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
248c224 to
3bdf332
Compare
|
I finally figured out why the failure was happening. When using the nodes api in dav we initialise it with the wrong view fake root |
|
hello @miaulalala |
|
This PR was reverted @DaphneMuller |
Removed old OO_FileChunking logic that produced GC- collectable chunks
Added BG Job that will run a garbage collection for every user
Signed-off-by: Anna Larch anna@nextcloud.com
Summary
Comparison for OCS requests:

https://blackfire.io/profiles/compare/2c3c3699-137e-49a3-a363-e0950bb278d4...41a33cf0-71ee-42aa-9791-9ef74f99e6c3/graph?settings%5Bdimension%5D=wt&settings%5Bdisplay%5D=landscape&settings%5BtabPane%5D=nodes&selected=&callname=main()&constraintDoc=
TODO
Checklist
Screenshots before/after for front-end changesBackports requested where applicable (ex: critical bugfixes)