mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
PERF: limit number of user actions retrieved to a saner page size
This commit is contained in:
parent
2663b3775f
commit
564eada45a
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class UserActionsController < ApplicationController
|
|||
params.require(:username)
|
||||
params.permit(:filter, :offset)
|
||||
|
||||
per_chunk = 60
|
||||
per_chunk = 30
|
||||
|
||||
user = fetch_user_from_params(include_inactive: current_user.try(:staff?))
|
||||
|
||||
|
|
Loading…
Reference in a new issue