aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/files-cache
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/files-cache')
-rw-r--r--server/lib/files-cache/actor-follow-score-cache.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/lib/files-cache/actor-follow-score-cache.ts b/server/lib/files-cache/actor-follow-score-cache.ts
index 086605726..465080e72 100644
--- a/server/lib/files-cache/actor-follow-score-cache.ts
+++ b/server/lib/files-cache/actor-follow-score-cache.ts
@@ -19,7 +19,10 @@ class ActorFollowScoreCache {
19 updateActorFollowsScore (goodInboxes: string[], badInboxes: string[]) { 19 updateActorFollowsScore (goodInboxes: string[], badInboxes: string[]) {
20 if (goodInboxes.length === 0 && badInboxes.length === 0) return 20 if (goodInboxes.length === 0 && badInboxes.length === 0) return
21 21
22 logger.info('Updating %d good actor follows and %d bad actor follows scores in cache.', goodInboxes.length, badInboxes.length) 22 logger.info(
23 'Updating %d good actor follows and %d bad actor follows scores in cache.',
24 goodInboxes.length, badInboxes.length, { badInboxes }
25 )
23 26
24 for (const goodInbox of goodInboxes) { 27 for (const goodInbox of goodInboxes) {
25 if (this.pendingFollowsScore[goodInbox] === undefined) this.pendingFollowsScore[goodInbox] = 0 28 if (this.pendingFollowsScore[goodInbox] === undefined) this.pendingFollowsScore[goodInbox] = 0