mirror of
https://github.com/jlengrand/helidon.git
synced 2026-03-10 08:21:17 +00:00
Implementation of MP FT 2.1.1 using FT SE (#2348)
* Replacing FailSafe and Hystrix by our own implementation of FT primitives. Some minor changes to our first version of these primitive operations was necessary to be fully compatible with MP and pass all the TCKs. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
This commit is contained in:
committed by
GitHub
parent
ec0a12600d
commit
74956be772
@@ -51,8 +51,8 @@ public class FtService implements Service {
|
||||
.name("helidon-example-bulkhead")
|
||||
.build();
|
||||
this.breaker = CircuitBreaker.builder()
|
||||
.volume(10)
|
||||
.errorRatio(20)
|
||||
.volume(4)
|
||||
.errorRatio(40)
|
||||
.successThreshold(1)
|
||||
.delay(Duration.ofSeconds(5))
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user