Windshaft-cartodb/test/support/config.js
2012-07-09 18:56:09 +02:00

19 lines
331 B
JavaScript

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;
}();