Skip to content

Commit 3942094

Browse files
authored
Fix[BMQ]: Move the read queue low watermark for each new reader (#896)
Signed-off-by: dorjesinpo <[email protected]>
1 parent 4e3c669 commit 3942094

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/groups/bmq/bmqio/bmqio_ntcchannel.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,9 @@ void NtcChannel::read(Status* status,
11771177

11781178
return;
11791179
}
1180+
// Move the read queue low watermark so not to miss already received
1181+
// data.
1182+
d_streamSocket_sp->setReadQueueLowWatermark(1);
11801183
}
11811184

11821185
if (timer) {

0 commit comments

Comments
 (0)