We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691e3c4 commit 195ac9fCopy full SHA for 195ac9f
engine-api/src/resolvers/engine.js
@@ -201,8 +201,8 @@ setInterval(() => {
201
202
/* Periodically prune the cache of old engines */
203
setInterval(() => {
204
- engineCache.reset();
205
- dependencyCache.reset();
+ engineCache.clear();
+ dependencyCache.clear();
206
}, ENGINE_CACHE_RESET_INTERVAL);
207
208
/*
engine-api/src/util/keys.js
@@ -33,7 +33,7 @@ setInterval(() => {
33
34
/* Periodically reset the cache in the event a key was deleted or the expriation date was reduced */
35
36
- cache.reset();
+ cache.clear();
37
}, APIKEY_CACHE_RESET_INTERVAL);
38
39
/* API key validation & cache management */
0 commit comments