Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/relevance-service/RelevanceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ export class RelevanceService {
this.logger.warn('Percentile stats missing, skipping channel weights update')
return
}
if (!this.weights.channel) {
this.logger.warn('Channel weights missing, skipping channel weights update')
return
}
this.logger.info(`Updating weights of ${channelIds.length} channels`)
const { percentileStats } = this
const { crtLiquidityWeight, crtVolumeWeight, followersWeight, revenueWeight, yppTierWeight } =
Expand Down
Loading