This commit is contained in:
2021-10-20 16:50:05 +08:00
parent b4d0c95a80
commit a2f0430b94
+3
View File
@@ -218,6 +218,9 @@ class Pool extends Component
if (!isset(static::$_connections[$name])) { if (!isset(static::$_connections[$name])) {
return; return;
} }
var_dump(static::$_connections[$name]);
/** @var Channel|SplQueue $connection */ /** @var Channel|SplQueue $connection */
foreach (static::$_connections[$name] as $connection) { foreach (static::$_connections[$name] as $connection) {
$client = $connection->pop(); $client = $connection->pop();