Windshaft-cartodb/test/support/config.js

19 lines
331 B
JavaScript
Raw Normal View History

2012-07-10 00:56:09 +08:00
var _ = require('underscore');
module.exports = function(opts) {
var config = {
redis_pool: {
max: 10,
idleTimeoutMillis: 1,
reapIntervalMillis: 1,
port: 6333 // TODO: read from test env ?
}
}
_.extend(config, opts || {});
return config;
}();