Skip to content

Commit

Permalink
IS-2765: Bruke felles Aiven-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe committed Nov 12, 2024
1 parent 44eddde commit a38c516
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ const getRedisStore = () => {

const redisClient = redis.createClient({
url: Config.redis.uri,
socket: {
tls: true,
},
username: Config.redis.username,
password: Config.redis.password,
database: Config.redis.database,
});
redisClient.select(Config.redis.database);
redisClient.unref();

return new RedisStore({
Expand Down

0 comments on commit a38c516

Please sign in to comment.