aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-21 13:26:04 +0200
committerChocobozzz <me@florianbigard.com>2018-05-21 17:49:56 +0200
commit30c82f0d2e9adacc1d3398822aa7810c0ccbceb4 (patch)
treef24f7c978b0421d79d131b976ae36a826baa8d8c /server/initializers/constants.ts
parent2e8e97f313683bdf8a7448f3d1ba1f1c27f6ad50 (diff)
downloadPeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.tar.gz
PeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.tar.zst
PeerTube-30c82f0d2e9adacc1d3398822aa7810c0ccbceb4.zip
feature: db selection in redis
resolves #579
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 51d272895..424947590 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -111,7 +111,8 @@ const CONFIG = {
111 REDIS: { 111 REDIS: {
112 HOSTNAME: config.get<string>('redis.hostname'), 112 HOSTNAME: config.get<string>('redis.hostname'),
113 PORT: config.get<number>('redis.port'), 113 PORT: config.get<number>('redis.port'),
114 AUTH: config.get<string>('redis.auth') 114 AUTH: config.get<string>('redis.auth'),
115 DB: config.get<number>('redis.db')
115 }, 116 },
116 SMTP: { 117 SMTP: {
117 HOSTNAME: config.get<string>('smtp.hostname'), 118 HOSTNAME: config.get<string>('smtp.hostname'),