1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 02:58:00 +01:00

Make FaultTolerantNegotiator respect packetReplyTimeout

This commit is contained in:
Florian Schmaus 2014-08-26 12:04:52 +02:00
parent 02228702da
commit 856b4a6090

View file

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