This commit is contained in:
2020-10-09 17:30:45 +08:00
parent 00ba75eb88
commit 542b6bed1e
+4 -4
View File
@@ -186,10 +186,10 @@ class Broker
if ($host && $port) {
try {
$socket = $this->getSocket($host, $port, $modeSync);
if (!$modeSync) {
$socket->SetonReadable($this->process);
}
$socket->connect();
// if (!$modeSync) {
// $socket->SetonReadable($this->process);
// }
// $socket->connect();
$this->{$type}[$key] = $socket;
return $socket;
} catch (\Exception $e) {