1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +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;