Skip to content

Commit

Permalink
increase deployment list limit (#1606)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunkickr authored Mar 28, 2024
1 parent 382ab25 commit 8e4c4b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cloud/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ var (
sleepTime = 180
tickNum = 10
timeoutNum = 180
listLimit = 1000
dedicatedDeploymentRequest = astroplatformcore.UpdateDedicatedDeploymentRequest{}
dagDeployEnabled bool
)
Expand Down Expand Up @@ -1336,7 +1337,9 @@ var CoreGetDeployments = func(ws, orgID string, platformCoreClient astroplatform
}
orgID = c.Organization
}
deploymentListParams := &astroplatformcore.ListDeploymentsParams{}
deploymentListParams := &astroplatformcore.ListDeploymentsParams{
Limit: &listLimit,
}
if ws != "" {
deploymentListParams.WorkspaceIds = &[]string{ws}
}
Expand Down

0 comments on commit 8e4c4b6

Please sign in to comment.