Add tableCacheEnabled setting to sample config #422

This commit is contained in:
Rafa de la Torre 2017-06-27 13:14:13 +02:00
parent 23cd744eda
commit 8c2e5f74df
4 changed files with 16 additions and 0 deletions

View File

@ -79,10 +79,14 @@ module.exports.redisPool = 50;
module.exports.redisIdleTimeoutMillis = 100; module.exports.redisIdleTimeoutMillis = 100;
module.exports.redisReapIntervalMillis = 10; module.exports.redisReapIntervalMillis = 10;
module.exports.redisLog = false; module.exports.redisLog = false;
// tableCache settings
module.exports.tableCacheEnabled = false; // false by default
// Max number of entries in the query tables cache // Max number of entries in the query tables cache
module.exports.tableCacheMax = 8192; module.exports.tableCacheMax = 8192;
// Max age of query table cache items, in milliseconds // Max age of query table cache items, in milliseconds
module.exports.tableCacheMaxAge = 1000*60*10; module.exports.tableCacheMaxAge = 1000*60*10;
// Temporary directory, make sure it is writable by server user // Temporary directory, make sure it is writable by server user
module.exports.tmpDir = '/tmp'; module.exports.tmpDir = '/tmp';
// change ogr2ogr command or path // change ogr2ogr command or path

View File

@ -80,10 +80,14 @@ module.exports.redisPool = 50;
module.exports.redisIdleTimeoutMillis = 10000; module.exports.redisIdleTimeoutMillis = 10000;
module.exports.redisReapIntervalMillis = 1000; module.exports.redisReapIntervalMillis = 1000;
module.exports.redisLog = false; module.exports.redisLog = false;
// tableCache settings
module.exports.tableCacheEnabled = false; // false by default
// Max number of entries in the query tables cache // Max number of entries in the query tables cache
module.exports.tableCacheMax = 8192; module.exports.tableCacheMax = 8192;
// Max age of query table cache items, in milliseconds // Max age of query table cache items, in milliseconds
module.exports.tableCacheMaxAge = 1000*60*10; module.exports.tableCacheMaxAge = 1000*60*10;
// Temporary directory, make sure it is writable by server user // Temporary directory, make sure it is writable by server user
module.exports.tmpDir = '/tmp'; module.exports.tmpDir = '/tmp';
// change ogr2ogr command or path // change ogr2ogr command or path

View File

@ -80,10 +80,14 @@ module.exports.redisPool = 50;
module.exports.redisIdleTimeoutMillis = 10000; module.exports.redisIdleTimeoutMillis = 10000;
module.exports.redisReapIntervalMillis = 1000; module.exports.redisReapIntervalMillis = 1000;
module.exports.redisLog = false; module.exports.redisLog = false;
// tableCache settings
module.exports.tableCacheEnabled = false; // false by default
// Max number of entries in the query tables cache // Max number of entries in the query tables cache
module.exports.tableCacheMax = 8192; module.exports.tableCacheMax = 8192;
// Max age of query table cache items, in milliseconds // Max age of query table cache items, in milliseconds
module.exports.tableCacheMaxAge = 1000*60*10; module.exports.tableCacheMaxAge = 1000*60*10;
// Temporary directory, make sure it is writable by server user // Temporary directory, make sure it is writable by server user
module.exports.tmpDir = '/tmp'; module.exports.tmpDir = '/tmp';
// change ogr2ogr command or path // change ogr2ogr command or path

View File

@ -77,10 +77,14 @@ module.exports.redisPool = 50;
module.exports.redisIdleTimeoutMillis = 1; module.exports.redisIdleTimeoutMillis = 1;
module.exports.redisReapIntervalMillis = 1; module.exports.redisReapIntervalMillis = 1;
module.exports.redisLog = false; module.exports.redisLog = false;
// tableCache settings
module.exports.tableCacheEnabled = true; // false by default. We want to make sure some functionallity is there until we fully deprecate it.
// Max number of entries in the query tables cache // Max number of entries in the query tables cache
module.exports.tableCacheMax = 8192; module.exports.tableCacheMax = 8192;
// Max age of query table cache items, in milliseconds // Max age of query table cache items, in milliseconds
module.exports.tableCacheMaxAge = 1000*60*10; module.exports.tableCacheMaxAge = 1000*60*10;
// Temporary directory, make sure it is writable by server user // Temporary directory, make sure it is writable by server user
module.exports.tmpDir = '/tmp'; module.exports.tmpDir = '/tmp';
// change ogr2ogr command or path // change ogr2ogr command or path