diff --git a/src/Utils/auth-utils.ts b/src/Utils/auth-utils.ts index 0b29d82..006eb8d 100644 --- a/src/Utils/auth-utils.ts +++ b/src/Utils/auth-utils.ts @@ -20,6 +20,7 @@ export function makeCacheableSignalKeyStore( const cache = _cache || new NodeCache({ stdTTL: DEFAULT_CACHE_TTLS.SIGNAL_STORE, // 5 minutes useClones: false, + deleteOnExpire: true, }) function getUniqueId(type: string, id: string) {