feat: add fill-first routing strategy

This commit is contained in:
gwizz
2025-12-22 17:40:35 +11:00
parent 27b43ed63f
commit b078be4613
4 changed files with 72 additions and 19 deletions

View File

@@ -120,7 +120,7 @@ type Manager struct {
// NewManager constructs a manager with optional custom selector and hook.
func NewManager(store Store, selector Selector, hook Hook) *Manager {
if selector == nil {
selector = &RoundRobinSelector{}
selector = &FillFirstSelector{}
}
if hook == nil {
hook = NoopHook{}