From 73a8531e4314bf817ed1b6ee2460d2f76fd02cf5 Mon Sep 17 00:00:00 2001 From: Frikky Date: Thu, 23 Oct 2025 11:27:27 +0200 Subject: [PATCH] Made 30 second wait time for database mandatory --- backend/go-app/main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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()