diff --git a/backend/go-app/main.go b/backend/go-app/main.go index 5b26b726..36a92b51 100755 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -4243,10 +4243,8 @@ func runInitEs(ctx context.Context) { } } - if strings.Contains(os.Getenv("SHUFFLE_OPENSEARCH_URL"), "https") { - log.Printf("[INFO] Waiting 30 seconds during init to make sure the opensearch instance is up and running with security features enabled") - time.Sleep(30 * time.Second) - } + log.Printf("[INFO] Waiting 30 seconds during init to make sure the opensearch instance is up and running with security features enabled") + time.Sleep(30 * time.Second) shuffle.InitOpensearchIndexes()