Make FaultTolerantNegotiator respect packetReplyTimeout

This commit is contained in:
Florian Schmaus 2014-08-26 12:04:52 +02:00
parent 02228702da
commit 856b4a6090
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class FaultTolerantNegotiator extends StreamNegotiator {
Future<InputStream> future;
try {
i++;
future = service.poll(10, TimeUnit.SECONDS);
future = service.poll(connection.getPacketReplyTimeout(), TimeUnit.MILLISECONDS);
}
catch (InterruptedException e) {
continue;