Fix Inssue #1957
This commit is contained in:
Oliani authored and GitHub committed 2022-09-10 16:41:51 +03:00
1 parent 5fd5840df7
commit a143af638c
1 file changed
+1 -1
@@ -38,7 +38,7 @@ public class DefaultCircuitBreaker implements CircuitBreaker {
int failureCount;
private final int failureThreshold;
private State state;
private final long futureTime = 1000 * 1000 * 1000 * 1000;
private final long futureTime = 1000L * 1000 * 1000 * 1000;
/**
* Constructor to create an instance of Circuit Breaker.