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:
parent
02228702da
commit
856b4a6090
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue