diff --git a/src/Controllers/SchemaCache.js b/src/Controllers/SchemaCache.js index f1286f47..0897e775 100644 --- a/src/Controllers/SchemaCache.js +++ b/src/Controllers/SchemaCache.js @@ -8,14 +8,14 @@ import defaults from '../defaults'; export default class SchemaCache { cache: Object; - constructor(cacheController, ttl = defaults.schemaCacheTTL, randomizePrefix = false) { + constructor(cacheController, ttl = defaults.schemaCacheTTL, singleCache = false) { this.ttl = ttl; if (typeof ttl == 'string') { this.ttl = parseInt(ttl); } this.cache = cacheController; this.prefix = SCHEMA_CACHE_PREFIX; - if (!randomizePrefix) { + if (!singleCache) { this.prefix += randomString(20); } }