Skip to content

Commit d620092

Browse files
author
Runze Cui
committed
Check CB Open and init connection for resolve hystrix attempt
1 parent fd934bf commit d620092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redis.go

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ func (c *baseClient) withConn(
266266
}
267267

268268
err := c.executeWithCircuitBreaker(ctx, fn, limiter)
269+
269270
limiter.ReportResult(err)
270271
return err
271272
}

0 commit comments

Comments
 (0)