This closes #423

This commit is contained in:
Clebert Suconic 2016-03-17 13:53:15 -04:00
commit 57c1c338ea
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}