mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Use APCu caching of composer
Should potentially shave of a few ms when loading classes of apps that don't ship their own autoloader. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
58e4ddd638
commit
948ab8a4d0
1 changed files with 2 additions and 0 deletions
|
|
@ -891,6 +891,8 @@ class OC {
|
|||
self::$loader->setMemoryCache($memcacheFactory->createLocal('Autoloader'));
|
||||
} catch (\Exception $ex) {
|
||||
}
|
||||
|
||||
self::$composerAutoloader->setApcuPrefix($instanceId . '-mainComposer');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue