discourse/app
Sam c8410537c1
FIX: hot not adding recently bumped topics (#25619)
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>
2024-02-09 07:45:47 +11:00
..
assets DEV: Resolve decorator import deprecations (#25616) 2024-02-08 19:02:26 +00:00
controllers DEV: Update confirm-email flows to use central 2fa and ember rendering (#25404) 2024-01-30 10:32:42 +00:00
helpers SECURITY: Properly escape user content within <noscript> 2024-01-30 09:10:09 -07:00
jobs DEV: Drop deprecated Badge#image column (#25536) 2024-02-02 14:09:55 +08:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models FIX: hot not adding recently bumped topics (#25619) 2024-02-09 07:45:47 +11:00
serializers DEV: Make more group-based settings client: false (#25585) 2024-02-08 09:43:34 +10:00
services DEV: Trigger DiscourseEvent on push notification send (#25375) 2024-01-22 15:30:35 -06:00
views SECURITY: Properly escape user content within <noscript> 2024-01-30 09:10:09 -07:00