mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Use connection specific reply timeout value
instead of the global default one.
This commit is contained in:
parent
439f4cd291
commit
069e7d7e60
4 changed files with 5 additions and 10 deletions
|
@ -793,7 +793,7 @@ public class XMPPTCPConnection extends XMPPConnection {
|
|||
// Wait until compression is being used or a timeout happened
|
||||
synchronized (this) {
|
||||
try {
|
||||
this.wait(SmackConfiguration.getDefaultPacketReplyTimeout() * 5);
|
||||
wait(getPacketReplyTimeout());
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
// Ignore.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue