We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6150f commit 5f335a9Copy full SHA for 5f335a9
src/Controllers/SchemaCache.js
@@ -8,14 +8,14 @@ import defaults from '../defaults';
8
export default class SchemaCache {
9
cache: Object;
10
11
- constructor(cacheController, ttl = defaults.schemaCacheTTL, randomizePrefix = false) {
+ constructor(cacheController, ttl = defaults.schemaCacheTTL, singleCache = false) {
12
this.ttl = ttl;
13
if (typeof ttl == 'string') {
14
this.ttl = parseInt(ttl);
15
}
16
this.cache = cacheController;
17
this.prefix = SCHEMA_CACHE_PREFIX;
18
- if (!randomizePrefix) {
+ if (!singleCache) {
19
this.prefix += randomString(20);
20
21
0 commit comments