Skip to content

Conversation

@Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Apr 22, 2025

Ladicek added 2 commits April 22, 2025 16:38
This avoids a stack overflow error in case of a synchronous loop
with too many retry attempts. The `Future.loop()` contract guarantees
a bounded stack space, unlike the previous implementation based on
naive recursion.
@Ladicek Ladicek added this to the 6.9.1 milestone Apr 22, 2025
@Ladicek Ladicek merged commit e9f322e into smallrye:main Apr 23, 2025
13 checks passed
@Ladicek Ladicek deleted the fix-retry-loop branch April 23, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smallrye fault tolerance retry policy goes in StackOverflowError

1 participant