Increment unprocessed attempts when fetching

This commit is contained in:
Fedor Indutny
2022-04-28 15:28:30 -07:00
committed by GitHub
parent 6d576ed901
commit d6b58d23d6
6 changed files with 77 additions and 41 deletions

View File

@@ -474,7 +474,7 @@ export type DataInterface = {
) => Promise<void>;
getUnprocessedCount: () => Promise<number>;
getAllUnprocessed: () => Promise<Array<UnprocessedType>>;
getAllUnprocessedAndIncrementAttempts: () => Promise<Array<UnprocessedType>>;
updateUnprocessedWithData: (
id: string,
data: UnprocessedUpdateType