Deduplicate and cancel unneeded retry requests
This commit is contained in:
parent
d1f130e542
commit
b68e731950
22 changed files with 473 additions and 161 deletions
|
@ -1342,7 +1342,7 @@ export async function clearCallHistoryDataAndSync(
|
|||
);
|
||||
const messageIds = await DataWriter.clearCallHistory(latestCall);
|
||||
await DataWriter.beginDeleteAllCallLinks();
|
||||
storageServiceUploadJob();
|
||||
storageServiceUploadJob({ reason: 'clearCallHistoryDataAndSync' });
|
||||
// Wait for storage sync before finalizing delete
|
||||
drop(CallLinkDeleteManager.enqueueAllDeletedCallLinks({ delay: 10000 }));
|
||||
updateDeletedMessages(messageIds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue