Windshaft-cartodb/test/support/config.js

22 lines
363 B
JavaScript
Raw Normal View History

2012-07-10 00:56:09 +08:00
var _ = require('underscore');
require(__dirname + '/test_helper');
2012-07-10 00:56:09 +08:00
module.exports = function(opts) {
var config = {
redis_pool: {
2016-01-29 02:44:25 +08:00
max: 10,
idleTimeoutMillis: 1,
2012-07-10 00:56:09 +08:00
reapIntervalMillis: 1,
port: global.environment.redis.port
2012-07-10 00:56:09 +08:00
}
}
_.extend(config, opts || {});
return config;
}();