mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Limit total number of operation retries
This commit is contained in:
@@ -121,6 +121,9 @@ public interface DaoOperation {
|
||||
" AND name = :name")
|
||||
int getOperationCount(long folder, long message, String name);
|
||||
|
||||
@Query("UPDATE operation SET tries = :tries WHERE id = :id")
|
||||
int setOperationTries(long id, int tries);
|
||||
|
||||
@Query("UPDATE operation SET state = :state WHERE id = :id")
|
||||
int setOperationState(long id, String state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user