Removed deletion of over-attempts-unprocessed from saveUnprocessedSync

This commit is contained in:
Alvaro
2023-02-21 14:03:48 -07:00
committed by GitHub
parent b483d26488
commit a4b5968579

View File

@@ -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,
` `