This commit is contained in:
RMT
2026-03-15 18:37:50 +08:00
committed by ginuerzh
parent 802943bd28
commit 2a2643a6b7
2 changed files with 169 additions and 0 deletions
+2
View File
@@ -47,6 +47,8 @@ func ParseNodeSelector(cfg *config.SelectorConfig) selector.Selector[*chain.Node
strategy = xs.FIFOStrategy[*chain.Node]()
case "hash":
strategy = xs.HashStrategy[*chain.Node]()
case "parallel":
strategy = xs.ParallelStrategy[*chain.Node]()
default:
strategy = xs.RoundRobinStrategy[*chain.Node]()
}