From 8e4c4b6121ae14607a6c63b10105586240f5a1a4 Mon Sep 17 00:00:00 2001 From: David Koenitzer Date: Thu, 28 Mar 2024 14:37:52 -0400 Subject: [PATCH] increase deployment list limit (#1606) --- cloud/deployment/deployment.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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} }