mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
removed unnecessary / inacurate debug logging
This commit is contained in:
parent
402e5363d1
commit
0f6f6adca0
@ -499,8 +499,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
||||
long pingTimeoutIn = (lastSent + Config.PING_TIMEOUT * 1000) - SystemClock.elapsedRealtime();
|
||||
if (lastSent > lastReceived) {
|
||||
if (pingTimeoutIn < 0) {
|
||||
long age = (SystemClock.elapsedRealtime() - account.getXmppConnection().getLastConnect()) / 1000;
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": ping timeout. connection age was: "+age+"s");
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": ping timeout");
|
||||
this.reconnectAccount(account, true);
|
||||
} else {
|
||||
int secs = (int) (pingTimeoutIn / 1000);
|
||||
|
Loading…
Reference in New Issue
Block a user