This commit is contained in:
2021-04-27 15:04:12 +08:00
parent fb01ab3aff
commit 51ff8ad386
+2 -2
View File
@@ -179,7 +179,7 @@ class Connection extends Pool
*/ */
public function printClients($cds, $coroutineName, $isBefore = false) public function printClients($cds, $coroutineName, $isBefore = false)
{ {
$this->success('create client connect ' . $cds); // $this->success('create client connect ' . $cds);
} }
@@ -195,7 +195,7 @@ class Connection extends Pool
return; return;
} }
$this->error('Worker ' . env('worker') . ' recover db client ' . $coroutineName . ' length ' . $this->size($coroutineName)); // $this->error('Worker ' . env('worker') . ' recover db client ' . $coroutineName . ' length ' . $this->size($coroutineName));
/** @var PDO $client */ /** @var PDO $client */
$client = Context::getContext($coroutineName); $client = Context::getContext($coroutineName);