Merge "objectcache: suppress TransactionProfiler in occasionallyGarbageCollect()"
This commit is contained in:
commit
afecdf769f
1 changed files with 2 additions and 0 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue