Circuit breaker

This commit is contained in:
Alexander Klizhentas
2014-12-12 17:56:56 -08:00
parent 078267809e
commit eadc804fff
8 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// package circuitbreaker implements circuit breaker similar to https://github.com/Netflix/Hystrix/wiki/How-it-Works
// package cbreaker implements circuit breaker similar to https://github.com/Netflix/Hystrix/wiki/How-it-Works
//
// Vulcan circuit breaker watches the error condtion to match
// after which it activates the fallback scenario, e.g. returns the response code
@@ -23,7 +23,7 @@
// * OnTripped action is called on transition (Standby -> Tripped)
// * OnStandby action is called on transition (Recovering -> Standby)
//
package circuitbreaker
package cbreaker
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"bytes"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"github.com/mailgun/oxy/memmetrics"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"fmt"
+1 -1
View File
@@ -1,4 +1,4 @@
package circuitbreaker
package cbreaker
import (
"math"