Add tableCacheEnabled setting to sample config #422
This commit is contained in:
parent
23cd744eda
commit
8c2e5f74df
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user