Increment unprocessed attempts when fetching
This commit is contained in:
parent
6d576ed901
commit
d6b58d23d6
6 changed files with 77 additions and 41 deletions
|
@ -247,7 +247,7 @@ const dataInterface: ClientInterface = {
|
|||
migrateConversationMessages,
|
||||
|
||||
getUnprocessedCount,
|
||||
getAllUnprocessed,
|
||||
getAllUnprocessedAndIncrementAttempts,
|
||||
getUnprocessedById,
|
||||
updateUnprocessedWithData,
|
||||
updateUnprocessedsWithData,
|
||||
|
@ -1443,8 +1443,8 @@ async function getUnprocessedCount() {
|
|||
return channels.getUnprocessedCount();
|
||||
}
|
||||
|
||||
async function getAllUnprocessed() {
|
||||
return channels.getAllUnprocessed();
|
||||
async function getAllUnprocessedAndIncrementAttempts() {
|
||||
return channels.getAllUnprocessedAndIncrementAttempts();
|
||||
}
|
||||
|
||||
async function getUnprocessedById(id: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue