Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit ed96e24

Browse files
committed
Resetting statistics after processing them
1 parent da7fe0c commit ed96e24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Statistics/Logger/MemoryStatisticsLogger.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public function save()
121121

122122
$statistic->reset($currentConnectionCount);
123123
}
124+
125+
$this->statistics = [];
124126
}
125127

126128
/**

0 commit comments

Comments
 (0)