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 {
|
try {
|
||||||
// Keep store alive
|
// Keep store alive
|
||||||
while (state.running) {
|
while (state.running) {
|
||||||
Log.i(Helper.TAG, account.name + " wait");
|
EntityLog.log(this, account.name + " wait=" + account.poll_interval);
|
||||||
|
|
||||||
synchronized (state) {
|
synchronized (state) {
|
||||||
try {
|
try {
|
||||||
state.wait(account.poll_interval * 60 * 1000L);
|
state.wait(account.poll_interval * 60 * 1000L);
|
||||||
|
|
Loading…
Reference in New Issue