mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: add missing cache name
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user