We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d8dd0 commit 986b136Copy full SHA for 986b136
src/Pools/Pool.php
@@ -229,8 +229,8 @@ public function use(callable $callback): mixed
229
$connection = $this->pop();
230
return $callback($connection->getResource());
231
} finally {
232
+ $this->telemetryUseDuration->record(microtime(true) - $start, $this->telemetryAttributes);
233
if ($connection !== null) {
- $this->telemetryUseDuration->record(microtime(true) - $start, $this->telemetryAttributes);
234
$this->reclaim($connection);
235
}
236
0 commit comments