2013-05-23 17:49:23 +08:00
|
|
|
module.exports.base_url = '/api/:version';
|
2011-07-01 19:00:39 +08:00
|
|
|
module.exports.node_port = 8080;
|
2012-10-10 00:40:17 +08:00
|
|
|
module.exports.node_host = '127.0.0.1';
|
2012-12-05 21:02:10 +08:00
|
|
|
// idle socket timeout, in miliseconds
|
|
|
|
module.exports.node_socket_timeout = 600000;
|
2011-06-13 11:23:02 +08:00
|
|
|
module.exports.environment = 'development';
|
|
|
|
module.exports.db_base_name = 'cartodb_dev_user_<%= user_id %>_db';
|
2011-06-13 18:31:50 +08:00
|
|
|
module.exports.db_user = 'development_cartodb_user_<%= user_id %>';
|
2011-06-13 11:23:02 +08:00
|
|
|
module.exports.db_host = 'localhost';
|
2011-07-05 17:15:13 +08:00
|
|
|
module.exports.db_port = '5432';
|
2013-05-24 18:06:14 +08:00
|
|
|
// Max database connections in the pool
|
|
|
|
// Subsequent connections will wait for a free slot.
|
|
|
|
// NOTE: not used by OGR-mediated accesses
|
|
|
|
module.exports.db_pool_size = 500;
|
|
|
|
// Milliseconds before a connection is removed from pool
|
|
|
|
module.exports.db_pool_idleTimeout = 30000;
|
|
|
|
// Milliseconds between idle client checking
|
|
|
|
module.exports.db_pool_reapInterval = 1000;
|
2011-06-13 11:23:02 +08:00
|
|
|
module.exports.redis_host = '127.0.0.1';
|
|
|
|
module.exports.redis_port = 6379;
|
2011-06-17 00:29:51 +08:00
|
|
|
module.exports.redisPool = 50;
|
|
|
|
module.exports.redisIdleTimeoutMillis = 100;
|
|
|
|
module.exports.redisReapIntervalMillis = 10;
|
2012-10-10 00:40:17 +08:00
|
|
|
module.exports.redisLog = false;
|
2013-02-14 01:57:14 +08:00
|
|
|
// Max number of entries in the query tables cache
|
|
|
|
module.exports.tableCacheMax = 8192;
|
|
|
|
// Max age of query table cache items, in milliseconds
|
|
|
|
module.exports.tableCacheMaxAge = 1000*60*10;
|
2013-08-21 16:03:12 +08:00
|
|
|
// Temporary directory, make sure it is writable by server user
|
2013-03-26 23:01:42 +08:00
|
|
|
module.exports.tmpDir = '/tmp';
|