This commit is contained in:
2020-09-05 01:29:46 +08:00
parent 2b000a6ecf
commit d2320bead7
3 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ class Connection extends Pool
*/
public function getByChannel($coroutineName, $config)
{
[$time, $client] = $this->get($coroutineName, -1);
[$time, $client] = $this->get($coroutineName);
if ($client instanceof PDO) {
return $this->saveClient($coroutineName, $client);
}