We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd5840 commit a143af6Copy full SHA for a143af6
circuit-breaker/src/main/java/com/iluwatar/circuitbreaker/DefaultCircuitBreaker.java
@@ -38,7 +38,7 @@ public class DefaultCircuitBreaker implements CircuitBreaker {
38
int failureCount;
39
private final int failureThreshold;
40
private State state;
41
- private final long futureTime = 1000 * 1000 * 1000 * 1000;
+ private final long futureTime = 1000L * 1000 * 1000 * 1000;
42
43
/**
44
* Constructor to create an instance of Circuit Breaker.
0 commit comments