Skip to content

Commit a143af6

Browse files
1 parent 5fd5840 commit a143af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuit-breaker/src/main/java/com/iluwatar/circuitbreaker/DefaultCircuitBreaker.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class DefaultCircuitBreaker implements CircuitBreaker {
3838
int failureCount;
3939
private final int failureThreshold;
4040
private State state;
41-
private final long futureTime = 1000 * 1000 * 1000 * 1000;
41+
private final long futureTime = 1000L * 1000 * 1000 * 1000;
4242

4343
/**
4444
* Constructor to create an instance of Circuit Breaker.

0 commit comments

Comments
 (0)