mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
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 |