mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
Experiment: auto tune keep alive interval
This commit is contained in:
@@ -121,6 +121,15 @@ public interface DaoAccount {
|
||||
@Query("UPDATE account SET last_connected = :last_connected WHERE id = :id")
|
||||
int setAccountConnected(long id, long last_connected);
|
||||
|
||||
@Query("UPDATE account SET poll_interval = :value WHERE id = :id")
|
||||
int setAccountKeepAliveInterval(long id, int value);
|
||||
|
||||
@Query("UPDATE account SET keep_alive_ok = :ok WHERE id = :id")
|
||||
int setAccountKeepAliveOk(long id, boolean ok);
|
||||
|
||||
@Query("UPDATE account SET keep_alive_failed = :value WHERE id = :id")
|
||||
int setAccountKeepAliveFailed(long id, int value);
|
||||
|
||||
@Query("UPDATE account SET `order` = :order WHERE id = :id")
|
||||
int setAccountOrder(long id, Integer order);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user