mirror of https://github.com/M66B/FairEmail.git
NOOP logging
This commit is contained in:
parent
1840bc0fdd
commit
ab36faa82b
|
@ -204,8 +204,10 @@ class Core {
|
||||||
@Override
|
@Override
|
||||||
public Object doCommand(IMAPProtocol protocol) throws ProtocolException {
|
public Object doCommand(IMAPProtocol protocol) throws ProtocolException {
|
||||||
long ago = System.currentTimeMillis() - protocol.getTimestamp();
|
long ago = System.currentTimeMillis() - protocol.getTimestamp();
|
||||||
if (ago > 20000)
|
if (ago > 20000) {
|
||||||
|
Log.i("NOOP ago=" + ago + " ms");
|
||||||
protocol.noop();
|
protocol.noop();
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue