Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d8d6d7

Browse files
committed
Fixed bug
1 parent5ed5f47 commit7d8d6d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/CommandInvoker.php‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ public function receive(Connection $connection)
8181

8282
if ($line =='*3') {
8383
if (!empty($buffer)) {
84-
$this->resultChannel->push($buffer);
84+
// 这里如果用 resultChannel 去 push 的话,会出现一种情况,就是这里 push 消息过后,没有地方去将消息 pop 出来,导致后续的消息都会被阻塞
85+
$this->messageChannel->push($buffer);
8586
$buffer =null;
8687
}
8788
$buffer[] =$line;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp