fix default selector

This commit is contained in:
ginuerzh 2022-08-18 09:44:30 +08:00
parent 513eefe034
commit 85e799802e

View File

@ -15,7 +15,10 @@ const (
)
var (
DefaultSelector = NewSelector(RoundRobinStrategy())
DefaultSelector = NewSelector(
RoundRobinStrategy(),
FailFilter(1, DefaultFailTimeout),
)
)
type Selector interface {