mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix check after init script
This commit is contained in:
parent
87699a09ce
commit
d41a380550
2 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue