mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 04:02:30 +08:00
Previously, nested replies offered only `top`, `new`, and `old` ordering, so active discussions could not surface recently engaged branches while keeping tree loading bounded. This change adds default-off `hot` sorting backed by demand-driven PostgreSQL snapshots and bounded branch preloading, preserves the resolved fallback across pagination, and skips hot-cache work for small topics or topics inactive for 30 days. |
||
|---|---|---|
| .. | ||
| ancestor_walker.rb | ||
| hot_score_cache.rb | ||
| hot_score_calculator.rb | ||
| hot_score_queue.rb | ||
| post_preloader.rb | ||
| post_tree_serializer.rb | ||
| sort.rb | ||
| tree_loader.rb | ||