Skip to content

Commit

Permalink
Merge pull request #19509 from Expensify/yuwen-retry
Browse files Browse the repository at this point in the history
persist: true -> retry: true
  • Loading branch information
marcaaron authored Jul 15, 2023
2 parents 272d921 + 5029a75 commit b9508b6
Show file tree
Hide file tree
Showing 4 changed files with 549 additions and 508 deletions.
6 changes: 0 additions & 6 deletions src/libs/Network/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ function post(command, data = {}, type = CONST.NETWORK.METHOD.POST, shouldUseSec
appversion: pkg.version,
};

const shouldPersist = lodashGet(request, 'data.persist', false);
if (shouldPersist) {
SequentialQueue.push(request);
return;
}

// Add promise handlers to any request that we are not persisting
request.resolve = resolve;
request.reject = reject;
Expand Down
Loading

0 comments on commit b9508b6

Please sign in to comment.