From 310878f3647b7a2853eb2fcd2f986a3887b29fa5 Mon Sep 17 00:00:00 2001 From: Vit Horacek Date: Thu, 9 May 2024 16:29:55 +0200 Subject: [PATCH] Make sure to resolve the promise to unpause the sequential queue --- src/libs/actions/OnyxUpdateManager/utils/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/OnyxUpdateManager/utils/index.ts b/src/libs/actions/OnyxUpdateManager/utils/index.ts index 6d51d3ac02a6..04e39610ed6b 100644 --- a/src/libs/actions/OnyxUpdateManager/utils/index.ts +++ b/src/libs/actions/OnyxUpdateManager/utils/index.ts @@ -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; }