diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 1689a8cd..526a4399 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -42,7 +42,6 @@ abstract class Pool extends Component */ protected function get($name) { - $this->debug('get connect.' . $this->size($name)); [$timeout, $connection] = $this->_items[$name]->pop(); if (!$this->checkCanUse($name, $timeout, $connection)) { unset($client); diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index 177a900d..1a0d1e72 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -55,6 +55,7 @@ class Redis extends Pool public function getByChannel($coroutineName, $config) { if (!$this->hasItem($coroutineName)) { + $this->success('create redis client -> ' . $config['host'] . ':' . $this->size($coroutineName)); return $this->saveClient($coroutineName, $this->createConnect($config)); } [$time, $client] = $this->get($coroutineName);