refactor: add missing cache name

This commit is contained in:
Barış Soner Uşaklı
2025-07-16 20:23:57 -04:00
parent 0fdde13208
commit 272008bb51

View File

@@ -21,6 +21,7 @@ const activitypub = require('.');
const webfingerRegex = /^(@|acct:)?[\w-.]+@.+$/; const webfingerRegex = /^(@|acct:)?[\w-.]+@.+$/;
const webfingerCache = ttl({ const webfingerCache = ttl({
name: 'ap-webfinger-cache',
max: 5000, max: 5000,
ttl: 1000 * 60 * 60 * 24, // 24 hours ttl: 1000 * 60 * 60 * 24, // 24 hours
}); });