Removed deletion of over-attempts-unprocessed from saveUnprocessedSync
This commit is contained in:
parent
b483d26488
commit
a4b5968579
1 changed files with 0 additions and 8 deletions
|
@ -3255,14 +3255,6 @@ function saveUnprocessedSync(data: UnprocessedType): string {
|
||||||
throw new Error('saveUnprocessedSync: id was falsey');
|
throw new Error('saveUnprocessedSync: id was falsey');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attempts > MAX_UNPROCESSED_ATTEMPTS) {
|
|
||||||
logger.warn(
|
|
||||||
`saveUnprocessedSync: not saving ${id} due to exhausted attempts`
|
|
||||||
);
|
|
||||||
removeUnprocessedSync(id);
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare(
|
prepare(
|
||||||
db,
|
db,
|
||||||
`
|
`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue