CDB-3629 Pickup redis pool config values

This commit is contained in:
Raul Ochoa 2014-07-29 13:58:16 +02:00
parent d387215f24
commit 0f14118235

View File

@ -34,7 +34,10 @@ var express = require('express')
, StatsD = require('node-statsd').StatsD
, Meta = require('cartodb-redis')({
host: global.settings.redis_host,
port: global.settings.redis_port
port: global.settings.redis_port,
max: global.settings.redisPool,
idleTimeoutMillis: global.settings.redisIdleTimeoutMillis,
reapIntervalMillis: global.settings.redisReapIntervalMillis
})
// global.settings.app_root + '/app/models/metadata')
, oAuth = require(global.settings.app_root + '/app/models/oauth')