changeset 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 728b58946c34
children fcab36751490 133dc5b3076a
files pkg/imports/queue.go
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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 (