mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 01:29:38 +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
|
@ -489,7 +489,7 @@ public abstract class XMPPConnection {
|
|||
if (!roster.rosterInitialized && config.isRosterLoadedAtLogin()) {
|
||||
try {
|
||||
synchronized (roster) {
|
||||
long waitTime = SmackConfiguration.getDefaultPacketReplyTimeout();
|
||||
long waitTime = getPacketReplyTimeout();
|
||||
long start = System.currentTimeMillis();
|
||||
while (!roster.rosterInitialized) {
|
||||
if (waitTime <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue