]> source.dussan.org Git - nextcloud-server.git/commit
fix(autoloader): no apcu no side effects 40349/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 8 Sep 2023 14:40:48 +0000 (16:40 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 8 Sep 2023 14:55:39 +0000 (16:55 +0200)
commit603a659a37cdbb63627766362736127978a92ade
tree91ed9ddc750ba3c8eb6bce13be0cf067a8999d23
parent747d9ef511165aea79a95d736fb53f385933e80b
fix(autoloader): no apcu no side effects

apcu lead to side effects especially with app management and (soft)
inter-dependencies, and lead also to 500 server errors. While we could
add management to clear apcu cache in many cases (may stil leave edge
cases) the performance benefit is marginally as also class maps are
already cached in opcache. Hence, the simple and effective way to go is
to not use apcu for autoloading.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/base.php
lib/private/legacy/OC_Util.php