Skip to content

Commit

Permalink
fix(web): Revert take calls; unexpected upstream behaviors (#1654)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert authored Sep 28, 2017
1 parent e4e2ffd commit 8d8dc93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ProjectController {
executionRepository.retrievePipelinesForPipelineConfigId(it, executionCriteria)
}).subscribeOn(Schedulers.io()).toList().toBlocking().single().sort(startTimeOrId)

return allPipelines.take(limit)
return allPipelines
}

private static Closure startTimeOrId = { a, b ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class TaskController {
executionRepository.retrievePipelinesForPipelineConfigId(it, executionCriteria)
}).subscribeOn(Schedulers.io()).toList().toBlocking().single().sort(startTimeOrId)

return filterPipelinesByHistoryCutoff(allPipelines).take(limit)
return filterPipelinesByHistoryCutoff(allPipelines)
}

private List<Pipeline> filterPipelinesByHistoryCutoff(List<Pipeline> pipelines) {
Expand Down

0 comments on commit 8d8dc93

Please sign in to comment.