Don't get reputation every time

This commit is contained in:
Ajay Ramachandran 2021-05-23 23:30:47 -04:00
parent 9990e0b807
commit 994dba86f6

View file

@ -224,7 +224,7 @@ async function chooseSegments(segments: DBSegment[], max: number): Promise<DBSeg
currentGroup.votes += segment.votes;
}
if (segment.userID) segment.reputation = Math.min(segment.reputation, await getReputation(segment.userID));
// if (segment.userID) segment.reputation = Math.min(segment.reputation, await getReputation(segment.userID));
if (segment.reputation > 0) {
currentGroup.reputation += segment.reputation;
}