This closes #423
This commit is contained in:
commit
57c1c338ea
|
@ -1089,7 +1089,7 @@ public class LargeMessageControllerImpl implements LargeMessageController {
|
|||
}
|
||||
|
||||
int sizeToAdd = currentPacket != null ? currentPacket.chunk.length : 1;
|
||||
currentPacket = largeMessageData.poll(readTimeout, TimeUnit.SECONDS);
|
||||
currentPacket = largeMessageData.poll(readTimeout, TimeUnit.MILLISECONDS);
|
||||
if (currentPacket == null) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue