We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d52d6 commit d8cf52eCopy full SHA for d8cf52e
lib/support/config.js
@@ -21,7 +21,7 @@ module.exports = {
21
redis: ConfigDiscovery.parseRedisOptions(),
22
defaultGlobalModules: ConfigDiscovery.getList('DEFAULT_GLOBAL_MODULES', DEFAULT_GLOBAL_MODULES),
23
bodyParserLimit: process.env.BODY_PARSER_LIMIT || '1mb',
24
- redisConnectionTimeout: process.env.REDIS_CONNECTION_TIMEOUT || 2000,
+ redisConnectionTimeout: ConfigDiscovery.getInt('REDIS_CONNECTION_TIMEOUT', 2000),
25
metric: {
26
client: process.env.METRIC_CLIENT,
27
udpHost: process.env.METRIC_UDP_HOST,
0 commit comments