Skip to content

Commit

Permalink
limit agent list total count to 10k (#135026) (#135038)
Browse files Browse the repository at this point in the history
(cherry picked from commit d61253a)

Co-authored-by: Julia Bardi <[email protected]>
  • Loading branch information
kibanamachine and juliaElastic authored Jun 27, 2022
1 parent 5c1a4d5 commit b41cbc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,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 b41cbc7

Please sign in to comment.