Skip to content

Commit

Permalink
add tls to redis connection
Browse files Browse the repository at this point in the history
  • Loading branch information
koray-datadive committed May 25, 2024
1 parent c4e2635 commit 91b1013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/api/src/app/redis/redis.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const productionRedisFactor: FactoryProvider['useFactory'] = () => {
scaleReads: 'slave',
dnsLookup: (address, callback) => callback(null, address),
slotsRefreshTimeout: 2000,
redisOptions: {
tls: {},
},
}
);

Expand Down

0 comments on commit 91b1013

Please sign in to comment.