diff --git a/cloud/deployment/deployment.go b/cloud/deployment/deployment.go index e86866bac..2ba0021c6 100644 --- a/cloud/deployment/deployment.go +++ b/cloud/deployment/deployment.go @@ -72,6 +72,7 @@ var ( sleepTime = 180 tickNum = 10 timeoutNum = 180 + listLimit = 1000 dedicatedDeploymentRequest = astroplatformcore.UpdateDedicatedDeploymentRequest{} dagDeployEnabled bool ) @@ -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} }