mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 18:48:00 +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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue