mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Removed deletion of over-attempts-unprocessed from saveUnprocessedSync
This commit is contained in:
@@ -3255,14 +3255,6 @@ function saveUnprocessedSync(data: UnprocessedType): string {
|
||||
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(
|
||||
db,
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user