diff --git a/src/buffer.js b/src/buffer.js index 80cf651..1e19099 100644 --- a/src/buffer.js +++ b/src/buffer.js @@ -70,7 +70,7 @@ function queryBuffer(config, emitter, targetStore) { } } - const getHandles = (async function (key, ids, params, context) { + const getHandles = (async function(key, ids, params, context) { const handles = Array.from(new Array(ids.length)); if (config.cache !== null) { diff --git a/src/store.js b/src/store.js index b10070f..4d323b0 100644 --- a/src/store.js +++ b/src/store.js @@ -3,9 +3,9 @@ const lru = require('lru-cache'); /* Methods -------------------------------------------------------------------*/ function localStore(config) { - const store = new lru({ - max: config.cache.limit, - maxAge: config.cache.ttl, + const store = new lru({ + max: config.cache.limit, + maxAge: config.cache.ttl, }); function get(key) {