Made 30 second wait time for database mandatory
This commit is contained in:
@@ -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")
|
||||||
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)
|
||||||
time.Sleep(30 * time.Second)
|
|
||||||
}
|
|
||||||
|
|
||||||
shuffle.InitOpensearchIndexes()
|
shuffle.InitOpensearchIndexes()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user