Skip to content

Commit

Permalink
Address PR Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle committed Oct 6, 2023
1 parent 45046a8 commit 3322f51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/batchUploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ export class BatchUploader {
// regardless of whether the batches were successfully uploaded or not. We should
// therefore NOT overwrite Offline Storage when beacon returns, so that we can retry
// uploading saved batches at a later time. Batches should only be removed from
// Local Storage once we can confirm they are successfully uploaded
// Store current queue in case there is anything that hasn't uploaded yet
// Local Storage once we can confirm they are successfully uploaded.
this.batchVault.store(this.batchesQueuedForProcessing);

// Clear batch queue since everything should be in Offline Storage
Expand Down

0 comments on commit 3322f51

Please sign in to comment.