Skip to content

Commit

Permalink
Make sure to resolve the promise to unpause the sequential queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed May 9, 2024
1 parent 807c945 commit 310878f
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 310878f

Please sign in to comment.