fix tests
This commit is contained in:
parent
c4a75de0d8
commit
8a02156ac0
@ -83,7 +83,7 @@ module.exports = class ApiRouter {
|
|||||||
const metadataBackend = cartodbRedis({ pool: redisPool });
|
const metadataBackend = cartodbRedis({ pool: redisPool });
|
||||||
const pgConnection = new PgConnection(metadataBackend);
|
const pgConnection = new PgConnection(metadataBackend);
|
||||||
|
|
||||||
const windshaftLogger = environmentOptions.log_windshaft ? global.log4js.getLogger('[windshaft]') : null;
|
const windshaftLogger = environmentOptions.log_windshaft && global.log4js ? global.log4js.getLogger('[windshaft]') : null;
|
||||||
const mapStore = new windshaft.storage.MapStore({
|
const mapStore = new windshaft.storage.MapStore({
|
||||||
pool: redisPool,
|
pool: redisPool,
|
||||||
expire_time: serverOptions.grainstore.default_layergroup_ttl,
|
expire_time: serverOptions.grainstore.default_layergroup_ttl,
|
||||||
|
Loading…
Reference in New Issue
Block a user