mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Auto adjust keep alive interval
This commit is contained in:
@@ -126,6 +126,9 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET error = :error WHERE id = :id")
|
||||
int setAccountError(long id, String error);
|
||||
|
||||
@Query("UPDATE account SET poll_interval = :poll_interval WHERE id = :id")
|
||||
int setAccountPollInterval(long id, int poll_interval);
|
||||
|
||||
@Query("UPDATE account SET `primary` = 0")
|
||||
void resetPrimary();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user