1
0
Fork 0
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:
Florian Schmaus 2014-04-23 09:49:05 +02:00
parent 439f4cd291
commit 069e7d7e60
4 changed files with 5 additions and 10 deletions

View file

@ -187,7 +187,7 @@ public class XMPPBOSHConnection extends XMPPConnection {
synchronized (this) {
if (!connected) {
try {
wait(SmackConfiguration.getDefaultPacketReplyTimeout()*6);
wait(getPacketReplyTimeout());
}
catch (InterruptedException e) {}
}