From d41a3805502fdec0d6a075027e447b7b39b09c2b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Oct 2021 08:44:34 +0200 Subject: Fix check after init script --- server/lib/files-cache/actor-follow-score-cache.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/lib/files-cache') 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 { updateActorFollowsScore (goodInboxes: string[], badInboxes: string[]) { if (goodInboxes.length === 0 && badInboxes.length === 0) return - logger.info('Updating %d good actor follows and %d bad actor follows scores in cache.', goodInboxes.length, badInboxes.length) + logger.info( + 'Updating %d good actor follows and %d bad actor follows scores in cache.', + goodInboxes.length, badInboxes.length, { badInboxes } + ) for (const goodInbox of goodInboxes) { if (this.pendingFollowsScore[goodInbox] === undefined) this.pendingFollowsScore[goodInbox] = 0 -- cgit v1.2.3