From a7842b7d33c96f6308060692d700db17b1941ff8 Mon Sep 17 00:00:00 2001 From: weideng1 Date: Wed, 13 Jul 2022 16:53:58 -0600 Subject: [PATCH] [#39] updated num of checks from 90 to 120, so that WaitUntil will fail after 1 hour instead of 2700 seconds --- pkg/authenticated_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/authenticated_client.go b/pkg/authenticated_client.go index 917a8ba..0968229 100644 --- a/pkg/authenticated_client.go +++ b/pkg/authenticated_client.go @@ -308,7 +308,7 @@ func (a *AuthenticatedClient) CreateDb(createDb astra.DatabaseInfoCreate) (astra } id := response.HTTPResponse.Header.Get("location") - tries := 90 + tries := 120 interval := 30 db, err := a.WaitUntil(id, tries, interval, astra.StatusEnumACTIVE) if err != nil {