mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 02:30:51 +08:00
PERF: limit number of user actions retrieved to a saner page size
This commit is contained in:
parent
2663b3775f
commit
564eada45a
@ -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…
x
Reference in New Issue
Block a user