mirror of https://github.com/M66B/FairEmail.git
Add keep alive wait to log
This commit is contained in:
parent
70fbc5aa6a
commit
8f784c8954
|
@ -954,7 +954,8 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
try {
|
||||
// Keep store alive
|
||||
while (state.running) {
|
||||
Log.i(Helper.TAG, account.name + " wait");
|
||||
EntityLog.log(this, account.name + " wait=" + account.poll_interval);
|
||||
|
||||
synchronized (state) {
|
||||
try {
|
||||
state.wait(account.poll_interval * 60 * 1000L);
|
||||
|
|
Loading…
Reference in New Issue