Skip to content

Commit

Permalink
Merge pull request #102 from AirWalk-Digital/feat/update-redis-constr…
Browse files Browse the repository at this point in the history
…uctor

feat: update Redis constructor call
  • Loading branch information
PAYNEA03 authored Jul 25, 2023
2 parents 7058cc4 + c1edf64 commit c490a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function createRedisInstance(config = getRedisConfiguration()) {
options.password = config.password;
}

const redis = new Redis(options);
const redis = new Redis.Cluster(options);

redis.on('error', error => {
console.warn('[Redis] Error connecting', error);
Expand Down

0 comments on commit c490a1b

Please sign in to comment.