mirror of https://github.com/nextcloud/server
Merge pull request #43424 from nextcloud/enh/noid/debug-on-lazy-appconfig-loading
enh(appconfig): debug logs on lazy loadConfig
This commit is contained in:
commit
c1fc1b29bc
|
@ -1160,6 +1160,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', ['exception' => new \RuntimeException('ignorable exception')]);
|
||||
}
|
||||
|
||||
$qb = $this->connection->getQueryBuilder();
|
||||
$qb->from('appconfig');
|
||||
|
||||
|
|
Loading…
Reference in New Issue