From 91da3b149e83d5066a7b58981cbcef5a73ba0d6d Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Thu, 25 Jun 2020 23:57:01 +0200 Subject: [PATCH] Reducing default retries to 2 Many errors cannot be recovered from by retrying. There is currently no way to distinguish these states so it is now set to a lower value to have not long wait times until an item arrives. --- modules/joex/src/main/resources/reference.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/joex/src/main/resources/reference.conf b/modules/joex/src/main/resources/reference.conf index 16bc791a..bd2b19f9 100644 --- a/modules/joex/src/main/resources/reference.conf +++ b/modules/joex/src/main/resources/reference.conf @@ -68,7 +68,7 @@ docspell.joex { # How often a failed job should be retried until it enters failed # state. If a job fails, it becomes "stuck" and will be retried # after a delay. - retries = 5 + retries = 2 # The delay until the next try is performed for a failed job. This # delay is increased exponentially with the number of retries.