mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: default delete keys on expire
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user