Skip to content

Commit

Permalink
Merge pull request #41334 from nkdengineer/fix/40820
Browse files Browse the repository at this point in the history
fix: add new log when remove persisted requests
  • Loading branch information
Julesssss authored May 1, 2024
2 parents bf0bd61 + 1721a8f commit e42b031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/actions/PersistedRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ function remove(requestToRemove: Request) {
}
requests.splice(index, 1);
persistedRequests = requests;
Onyx.set(ONYXKEYS.PERSISTED_REQUESTS, requests);
Onyx.set(ONYXKEYS.PERSISTED_REQUESTS, requests).then(() => {
Log.info(`[SequentialQueue] '${requestToRemove.command}' removed from the queue. Queue length is ${getLength()}`);
});
}

function update(oldRequestIndex: number, newRequest: Request) {
Expand Down

0 comments on commit e42b031

Please sign in to comment.