Reduce home feed statuses per batch to 10

This commit is contained in:
azuregc7 2021-02-05 15:58:01 -08:00
parent c45d8adbf2
commit dd6cbd0c17

View File

@ -24,7 +24,7 @@ class Api::V1::Timelines::HomeController < Api::BaseController
end end
def home_statuses 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( account_home_feed.get(
theLimit, theLimit,
params[:max_id], params[:max_id],