Skip to content

Commit

Permalink
Merge pull request #41920 from Expensify/vit-resolvePromiseToUnpauseQ…
Browse files Browse the repository at this point in the history
…ueue

[CP Staging] Make sure to resolve the promise to unpause the sequential queue

(cherry picked from commit 072e537)
  • Loading branch information
arosiclair authored and OSBotify committed May 9, 2024
1 parent 807ba68 commit d4f61c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/OnyxUpdateManager/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function validateAndApplyDeferredUpdates(clientLastUpdateID?: number, previousPa
// Prevent info loops of calls to GetMissingOnyxMessages
if (previousParams?.newLastUpdateIDFromClient === newLastUpdateIDFromClient && previousParams?.latestMissingUpdateID === latestMissingUpdateID) {
Log.info('[DeferredUpdates] Aborting call to GetMissingOnyxMessages, repeated params', false, {lastUpdateIDFromClient, latestMissingUpdateID, previousParams});
resolve(undefined);
return;
}

Expand Down

0 comments on commit d4f61c3

Please sign in to comment.