modify plugin name
This commit is contained in:
@@ -104,7 +104,7 @@ class Pool extends Component
|
|||||||
if (!isset(static::$_connections[$name])) {
|
if (!isset(static::$_connections[$name])) {
|
||||||
$this->newChannel($name);
|
$this->newChannel($name);
|
||||||
}
|
}
|
||||||
if (static::$_connections[$name]->errCode == SWOOLE_CHANNEL_CLOSED) {
|
if (static::$_connections[$name]->isClose()) {
|
||||||
throw new Exception('Channel is Close.');
|
throw new Exception('Channel is Close.');
|
||||||
}
|
}
|
||||||
return static::$_connections[$name];
|
return static::$_connections[$name];
|
||||||
|
|||||||
Reference in New Issue
Block a user