adamsaghy commented on code in PR #6021:
URL: https://github.com/apache/fineract/pull/6021#discussion_r3481284755


##########
fineract-provider/src/main/resources/application.properties:
##########
@@ -848,6 +848,23 @@ 
resilience4j.retry.instances.commandStore.enable-exponential-backoff=${FINERACT_
 
resilience4j.retry.instances.commandStore.exponential-backoff-multiplier=${FINERACT_COMMAND_STORE_RETRY_EXPONENTIAL_BACKOFF_MULTIPLIER:2}
 
resilience4j.retry.instances.commandStore.retryExceptions=${FINERACT_COMMAND_STORE_RETRY_EXCEPTIONS:org.springframework.dao.ConcurrencyFailureException,org.eclipse.persistence.exceptions.OptimisticLockException,jakarta.persistence.OptimisticLockException,org.springframework.orm.jpa.JpaOptimisticLockingFailureException}
 
+# group
+resilience4j.retry.instances.commandGroupActivate.max-attempts=3
+resilience4j.retry.instances.commandGroupActivate.wait-duration=500ms
+resilience4j.retry.instances.commandGroupActivate.retry-exceptions=org.springframework.dao.OptimisticLockingFailureException

Review Comment:
   Please use the full retry exception list from command framework to have a 
clean list of retriable expcetions.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to