From dd6cbd0c17a1e04acf110b613ba538b5e0cf4c56 Mon Sep 17 00:00:00 2001 From: azuregc7 Date: Fri, 5 Feb 2021 15:58:01 -0800 Subject: [PATCH] Reduce home feed statuses per batch to 10 --- app/controllers/api/v1/timelines/home_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb index a5ac5e79..93ad337b 100644 --- a/app/controllers/api/v1/timelines/home_controller.rb +++ b/app/controllers/api/v1/timelines/home_controller.rb @@ -24,7 +24,7 @@ class Api::V1::Timelines::HomeController < Api::BaseController end def home_statuses - theLimit = params[:max_id].nil? ? 20 : limit_param(DEFAULT_STATUSES_LIMIT) + theLimit = params[:max_id].nil? ? 10 : limit_param(DEFAULT_STATUSES_LIMIT) account_home_feed.get( theLimit, params[:max_id],