diff --git a/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy b/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy index 85086ec965..8a7c89f281 100644 --- a/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy +++ b/orca-web/src/main/groovy/com/netflix/spinnaker/orca/controllers/TaskController.groovy @@ -322,7 +322,7 @@ class TaskController { executionRepository.retrievePipelinesForPipelineConfigId(it, executionCriteria) }).subscribeOn(Schedulers.io()).toList().toBlocking().single().sort(startTimeOrId) - return filterPipelinesByHistoryCutoff(allPipelines) + return filterPipelinesByHistoryCutoff(allPipelines).take(limit) } private List filterPipelinesByHistoryCutoff(List pipelines) {