This commit removes a handful of magic numbers and instead relies on a constant. This has a small impact in that the Basic feed will now return 50 articles instead of 25. However, normalizing the feed pagination window size helps reduce some oddities in reporting. In addition, this might be something we consider giving administrators the ability to set (with default options, because we shouldn't allow page sizes of 10_000 as that's a massive memory hog). Related to #14709 |
||
|---|---|---|
| .. | ||
| feeds | ||
| attributes.rb | ||
| builder.rb | ||
| creator.rb | ||
| destroyer.rb | ||
| enrich_image_attributes.rb | ||
| get_user_stickies.rb | ||
| suggest.rb | ||
| suggest_stickies.rb | ||
| updater.rb | ||