Skip to content

Node.js based forum software built for the modern web

refactor: add missing cache name

Barış Soner Uşaklı272008bb5108
diff --git a/src/activitypub/helpers.js b/src/activitypub/helpers.js
index f7708b9bd9..ad45b67910 100644
--- a/src/activitypub/helpers.js
+++ b/src/activitypub/helpers.js
@@ -21,6 +21,7 @@ const activitypub = require('.');
const webfingerRegex = /^(@|acct:)?[\w-.]+@.+$/;
const webfingerCache = ttl({
+ name: 'ap-webfinger-cache',
max: 5000,
ttl: 1000 * 60 * 60 * 24, // 24 hours
});