This commit is contained in:
2021-04-27 13:53:31 +08:00
parent 9044547ef0
commit 5a0b34fafc
+1 -1
View File
@@ -174,7 +174,7 @@ abstract class Pool extends Component
}
$connection = $this->_items[$name]->pop(0.01);
if (microtime(true) - $time >= 0.007) {
$this->warning('get client use time ' . (microtime(true) - $time));
$this->warning('Worker #' . env('worker') . ' get client use time ' . (microtime(true) - $time));
}
if (!$this->checkCanUse($name, $connection)) {
return $this->createClient($name, $callback);