about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-09-15 22:37:45 -0500
committermultiple creatures <dev@multiple-creature.party>2019-09-15 22:37:45 -0500
commit6695379f081d730afa907f687adf11f3c8d6f041 (patch)
tree45c5b22b6cf201f02005dfbacda4d0a08feaa9f7
parent06bce922dad2df14c4610404c9f9ae9db6167bda (diff)
pre-cache more pages of media at a time when browsing tags
-rw-r--r--app/controllers/api/v1/timelines/tag_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/timelines/tag_controller.rb b/app/controllers/api/v1/timelines/tag_controller.rb
index 602c4ea62..070b6e1c9 100644
--- a/app/controllers/api/v1/timelines/tag_controller.rb
+++ b/app/controllers/api/v1/timelines/tag_controller.rb
@@ -35,7 +35,7 @@ class Api::V1::Timelines::TagController < Api::BaseController
     else
       tag_timeline = tag_timeline_statuses
       preload_media(tag_timeline.paginate_by_id(
-        DEFAULT_STATUSES_LIMIT * 2,
+        DEFAULT_STATUSES_LIMIT * 4,
         params_slice(:max_id, :since_id, :min_id)
       ))
       statuses = tag_timeline.paginate_by_id(