Fixed hanging wait operations

This commit is contained in:
M66B
2019-03-07 08:45:10 +00:00
parent e6d933c231
commit 24a479806e
5 changed files with 1631 additions and 57 deletions

View File

@@ -94,11 +94,6 @@ public interface DaoOperation {
@Insert
long insertOperation(EntityOperation operation);
@Query("DELETE FROM operation" +
" WHERE message = :message" +
" AND name = '" + EntityOperation.WAIT + "'")
int deleteOperationWait(long message);
@Query("DELETE FROM operation WHERE id = :id")
void deleteOperation(long id);
int deleteOperation(long id);
}