Skip to content

Commit

Permalink
fix integration mode under concurrent calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Jan 8, 2025
1 parent 9ffb8b2 commit d4aedf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redis-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,9 @@ const _getIntegrationMode = async () => {

const getIntegrationMode = async () => {
if (integrationMode === null) {
integrationMode = await _getIntegrationMode();
integrationMode = _getIntegrationMode();
}
return integrationMode;
return await integrationMode;
};

module.exports = {
Expand Down

0 comments on commit d4aedf0

Please sign in to comment.