diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-02-07 08:35:00 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-02-07 08:35:00 -0100 |
commit | ae8d6b6b69c9901d29ed8e1d2e4170792bf338dd (patch) | |
tree | 888bcd5729c533484f7a382e1b0bf9ab36fde9ab /lib/private | |
parent | bea8bf903267b47a0427181fc3099e48eacc953f (diff) | |
download | nextcloud-server-ae8d6b6b69c9901d29ed8e1d2e4170792bf338dd.tar.gz nextcloud-server-ae8d6b6b69c9901d29ed8e1d2e4170792bf338dd.zip |
debug lazy loadConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/AppConfig.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 60b0e77f7af..6bac2e48055 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -1159,6 +1159,10 @@ class AppConfig implements IAppConfig { return; } + if (($lazy ?? true) !== false) { // if lazy is null or true, we debug log + $this->logger->debug('The loading of lazy AppConfig values have been requested', ['trace' => debug_backtrace()]); + } + $qb = $this->connection->getQueryBuilder(); $qb->from('appconfig'); |