Skip to content

Commit

Permalink
fix: Add limit to number of Workflows in CronWorkflow history (#12681)
Browse files Browse the repository at this point in the history
Signed-off-by: panicboat <panicboat@gmail.com>
Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
  • Loading branch information
panicboat and agilgur5 committed Feb 20, 2024
1 parent d3433c6 commit 5c8062e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/cron-workflows/cron-workflow-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function CronWorkflowDetails({match, location, history}: RouteComponentPr

useEffect(() => {
(async () => {
const workflowList = await services.workflows.list(namespace, null, [`${models.labels.cronWorkflow}=${name}`], null);
const workflowList = await services.workflows.list(namespace, null, [`${models.labels.cronWorkflow}=${name}`], {limit: 50});
const workflowsInfo = await services.info.getInfo();

setWorkflows(workflowList.items);
Expand Down

0 comments on commit 5c8062e

Please sign in to comment.