Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the strategy for key generation in stateful retry
There were a couple of issues to fix here. The first was that only the method arguments and not the method signature (or label) were being used in the key generator. Plus the arguments were being used as an array, which has a different hashcode on each invocation (a Collection would be better). Plus the interceptor builder didn't set the key generator in a circuit breaker, so all the method calls with different args are unique and they are supposed to be the same. See gh-49
- Loading branch information
Dave Syer
committed
Aug 23, 2016
1 parent
08cb981
commit 411d47d
Showing
4 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters