diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 3aa979668..6256cf38e 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -121,7 +121,10 @@ const CONFIG = { | |||
121 | HOSTNAME: config.get<string>('database.hostname'), | 121 | HOSTNAME: config.get<string>('database.hostname'), |
122 | PORT: config.get<number>('database.port'), | 122 | PORT: config.get<number>('database.port'), |
123 | USERNAME: config.get<string>('database.username'), | 123 | USERNAME: config.get<string>('database.username'), |
124 | PASSWORD: config.get<string>('database.password') | 124 | PASSWORD: config.get<string>('database.password'), |
125 | POOL: { | ||
126 | MAX: config.get<number>('database.pool.max') | ||
127 | } | ||
125 | }, | 128 | }, |
126 | REDIS: { | 129 | REDIS: { |
127 | HOSTNAME: config.has('redis.hostname') ? config.get<string>('redis.hostname') : null, | 130 | HOSTNAME: config.has('redis.hostname') ? config.get<string>('redis.hostname') : null, |