mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 04:45:50 +01:00
Limit auto optimize account exemption
This commit is contained in:
@@ -1591,7 +1591,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
db.endTransaction();
|
||||
}
|
||||
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
|
||||
} else if (account.poll_exempted) {
|
||||
} else if (pollInterval <= 60 && account.poll_exempted) {
|
||||
db.account().setAccountPollExempted(account.id, false);
|
||||
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user