This commit is contained in:
2020-10-09 17:57:28 +08:00
parent bbc77f69bc
commit deaaf9ab86
3 changed files with 47 additions and 49 deletions
+3 -3
View File
@@ -186,9 +186,9 @@ class Broker
if ($host && $port) {
try {
$socket = $this->getSocket($host, $port, $modeSync);
// if (!$modeSync) {
// $socket->SetonReadable($this->process);
// }
if (!$modeSync) {
$socket->SetonReadable($this->process);
}
$socket->connect();
$this->{$type}[$key] = $socket;
return $socket;