changeset 867:848c44e01060

Increased the number of attempts to configure the GeoServer at startup to ten (was five).
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 29 Sep 2018 22:24:31 +0200
parents 9aa545585bdd
children aa8f30c1ed27 42df1cabf410
files cmd/gemma/main.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmd/gemma/main.go	Fri Sep 28 22:18:25 2018 +0200
+++ b/cmd/gemma/main.go	Sat Sep 29 22:24:31 2018 +0200
@@ -43,7 +43,7 @@
 	// Do GeoServer setup in background.
 	go func() {
 		log.Println("Configure GeoServer...")
-		const maxTries = 5
+		const maxTries = 10
 		const sleep = time.Second * 5
 
 		for try := 1; try <= maxTries; try++ {