Merge "objectcache: suppress TransactionProfiler in occasionallyGarbageCollect()"

This commit is contained in:
jenkins-bot 2022-11-17 16:12:28 +00:00 committed by Gerrit Code Review
commit afecdf769f

View file

@ -1374,6 +1374,8 @@ class SqlBagOStuff extends MediumSpecificBagOStuff {
( $this->getCurrentTime() - $this->lastGarbageCollect ) > self::GC_DELAY_SEC
) {
$garbageCollector = function () use ( $db ) {
/** @noinspection PhpUnusedLocalVariableInspection */
$silenceScope = $this->silenceTransactionProfiler();
$this->deleteServerObjectsExpiringBefore(
$db,
(int)$this->getCurrentTime(),