2013-05-23 17:49:23 +08:00
|
|
|
module.exports.base_url = '/api/:version';
|
2011-09-16 19:43:10 +08:00
|
|
|
module.exports.node_port = 8080;
|
2012-02-09 23:52:53 +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-09-16 19:43:10 +08:00
|
|
|
module.exports.environment = 'staging';
|
2012-09-04 17:16:11 +08:00
|
|
|
module.exports.db_base_name = 'cartodb_staging_user_<%= user_id %>_db';
|
|
|
|
module.exports.db_user = 'cartodb_staging_user_<%= user_id %>';
|
2011-09-16 19:43:10 +08:00
|
|
|
module.exports.db_host = 'localhost';
|
|
|
|
module.exports.db_port = '6432';
|
|
|
|
module.exports.redis_host = '127.0.0.1';
|
|
|
|
module.exports.redis_port = 6379;
|
|
|
|
module.exports.redisPool = 50;
|
|
|
|
module.exports.redisIdleTimeoutMillis = 10000;
|
|
|
|
module.exports.redisReapIntervalMillis = 1000;
|
|
|
|
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-03-26 23:01:42 +08:00
|
|
|
// Temporary directory
|
|
|
|
module.exports.tmpDir = '/tmp';
|