Skip to content

Commit

Permalink
chore: connect to redis using socket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
paeeglee committed Oct 9, 2024
1 parent bf8c404 commit d89eae3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/api/src/server/storage/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export class SessionStorage {

protected constructor() {
this.redisClient = redis.createClient({
url: REDIS_URL,
socket: {
host:
'bako-safe-hmg-elasticache-i1bzt2.serverless.use1.cache.amazonaws.com',
port: 6379,
},
});

this.redisClient
Expand Down

0 comments on commit d89eae3

Please sign in to comment.