Skip to content

Commit

Permalink
Move executingQueue outside of retryFailtures check
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-el committed Oct 19, 2023
1 parent db96853 commit d5ead9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/browser-tracker-core/src/tracker/out_queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ export function OutQueueManager(
if (!retryFailures) {
LOG.error(`Failed to send events due to: "${e.type}", retry is disabled.`);
removeEventsFromQueue(numberToSend);
executingQueue = false;
}
executingQueue = false;
};

xhr.onerror = failureHandler;
Expand Down

0 comments on commit d5ead9a

Please sign in to comment.