diff pkg/imports/queue.go @ 5524:35966741e45e

Try harder to retry executing review finalization jobs if they fail: 500 times each 10 min.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 22 Oct 2021 20:11:19 +0200
parents 5f47eeea988d
children aaa9e658cabd
line wrap: on
line diff
--- a/pkg/imports/queue.go	Thu Oct 21 23:46:00 2021 +0200
+++ b/pkg/imports/queue.go	Fri Oct 22 20:11:19 2021 +0200
@@ -121,8 +121,8 @@
 
 const (
 	ReviewJobSuffix  = "#review"
-	reviewJobRetries = 10
-	reviewJobWait    = time.Minute
+	reviewJobRetries = 200
+	reviewJobWait    = 10 * time.Minute
 )
 
 const (