Skip to content

Commit

Permalink
Increase number of pipeline result returned to 1000
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Vernin <olivier.vernin@suse.com>
  • Loading branch information
olblak committed May 24, 2023
1 parent 2ab289e commit 0ee0297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func FindAllPipelines(c *gin.Context) {
UpdatedAt string
}

query := "SELECT * FROM pipelines ORDER BY updated_at DESC FETCH FIRST 50 ROWS ONLY"
query := "SELECT * FROM pipelines ORDER BY updated_at DESC FETCH FIRST 1000 ROWS ONLY"

rows, err := database.DB.Query(context.Background(), query)
if err != nil {
Expand Down

0 comments on commit 0ee0297

Please sign in to comment.