Windshaft-cartodb/test/support/config.js

22 lines
365 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: {
max: 10,
idleTimeoutMillis: 1,
reapIntervalMillis: 1,
port: global.environment.redis.port
2012-07-10 00:56:09 +08:00
}
}
_.extend(config, opts || {});
return config;
}();