mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
c8410537c1
When we insert into the hot set we add things with a score of 0 This means that if hot has more than batch size items in it with a score, then the 0s don't get an initial score This corrects the situation by always ensuring we re-score: 1. batch size high scoring topics 2. (new) batch size recently bumped topics * Update spec/models/topic_hot_scores_spec.rb Co-authored-by: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com> --------- Co-authored-by: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com> |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |