From 99a4d57cf5d45cae884a77ec819706d0f16e2223 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 21 Oct 2021 22:06:53 +0200 Subject: [PATCH] Change redis db number to env variable --- config/redis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/redis.ts b/config/redis.ts index de7ddbf..c51c984 100755 --- a/config/redis.ts +++ b/config/redis.ts @@ -39,7 +39,7 @@ const redisConfig: RedisConfig = { host: Env.get('REDIS_HOST'), port: Env.get('REDIS_PORT'), password: Env.get('REDIS_PASSWORD', ''), - db: 0, + db: Env.get('REDIS_DB', 1), keyPrefix: 'linkyjs:', healthCheck: true },