初始化

main
gzydong 2020-11-08 17:36:48 +08:00
parent bd6fecf39b
commit 5e06eb7a7b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class ChatMessageConsumer extends ConsumerMessage
}
$server = server();
foreach (server()->connections as $fd) {
foreach ($server->connections as $fd) {
if ($server->isEstablished($fd)) {
$server->push($fd, "Recv: 我是后台进程 [{$data['message']}]");
}