Skip to content

Commit

Permalink
limit agent list total count to 10k (#135026)
Browse files Browse the repository at this point in the history
(cherry picked from commit d61253a)
  • Loading branch information
juliaElastic committed Jun 23, 2022
1 parent cd49631 commit 8f23769
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export const AgentListPage: React.FunctionComponent<{}> = () => {
pagination={{
pageIndex: pagination.currentPage - 1,
pageSize: pagination.pageSize,
totalItemCount: totalAgents,
totalItemCount: Math.min(totalAgents, SO_SEARCH_LIMIT),
pageSizeOptions,
}}
isSelectable={true}
Expand Down

0 comments on commit 8f23769

Please sign in to comment.