mirror of
https://github.com/nextcloud/server.git
synced 2024-09-14 00:02:46 +02:00
debug lazy loadConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
bea8bf9032
commit
ae8d6b6b69
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user