Codebase list golang-gopkg-eapache-go-resiliency.v1 / 34d7dc5
Github likes "go" not "golang" Evan Huus 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
77 - success threshold (for closing the breaker)
88 - timeout (how long to keep the breaker open)
99
10 ```golang
10 ```go
1111 breaker := breaker.New(3, 1, 5*time.Second)
1212
1313 for {