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
1 changed files with 1 additions and 1 deletions

View File

@ -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],