소스 검색

内部使用oa后台

gogs 9 달 전
부모
커밋
e3d67ee555
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      app/Console/Commands/WebSocketServer.php

+ 3 - 3
app/Console/Commands/WebSocketServer.php

@@ -43,9 +43,9 @@ class WebSocketServer extends Command
                             $this->server->clients->attach($conn);
                             echo "New connection! ({$conn->resourceId})\n";
 
-                            foreach ($this->server->clients as $client) {
-                                    $client->send('1');
-                            }
+//                            foreach ($this->server->clients as $client) {
+////                                    $client->send('1');
+//                            }
                         }
 
                         public function onMessage(ConnectionInterface $from, $msg)