AxonFramework / AxonFramework

Framework for Evolutionary Message-Driven Microservices on the JVM
https://axoniq.io/
Apache License 2.0
3.32k stars 788 forks source link

Fix rescheduling of failed Persistent Streams #3130

Closed MGathier closed 2 weeks ago

MGathier commented 2 weeks ago

The back-off rescheduling of a failed Persistent Stream picked the maximum value between 60 and current * 2, causing the value to increase indefinitely. This PR corrects that behavior to pick the minium value, ensuring the back-off rescheduling "maxes out" at 60 (seconds).