lower reconnection time

This commit is contained in:
Daniel Gultsch 2016-11-18 13:30:12 +01:00
parent 0303c28ad9
commit fef601b4ae
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ public class XmppConnectionService extends Service {
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": went into offline state during low ping mode. reconnecting now");
reconnectAccount(account, true, false);
} else {
int timeToReconnect = mRandom.nextInt(20) + 10;
int timeToReconnect = mRandom.nextInt(10) + 2;
scheduleWakeUpCall(timeToReconnect, account.getUuid().hashCode());
}
}