File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 27482748 * Enable lazy objects feature from PHP 8.4 to be used in the Dependency Injection.
27492749 * Should improve performances by avoiding buiding unused objects.
27502750 *
2751- * Defaults to false .
2751+ * Defaults to true .
27522752 */
2753- 'enable_lazy_objects ' => false ,
2753+ 'enable_lazy_objects ' => true ,
27542754];
Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ public static function init(): void {
619619 $ loaderEnd = microtime (true );
620620
621621 // Enable lazy loading if activated
622- \OC \AppFramework \Utility \SimpleContainer::$ useLazyObjects = (bool )self ::$ config ->getValue ('enable_lazy_objects ' );
622+ \OC \AppFramework \Utility \SimpleContainer::$ useLazyObjects = (bool )self ::$ config ->getValue ('enable_lazy_objects ' , true );
623623
624624 // setup the basic server
625625 self ::$ server = new \OC \Server (\OC ::$ WEBROOT , self ::$ config );
You can’t perform that action at this time.
0 commit comments