auto-sync: 2026-05-17 19:49:13
This commit is contained in:
@@ -244,7 +244,7 @@ class Dispatcher:
|
||||
# 多候选时选负载最低的
|
||||
if self.counter and len(registered) > 1:
|
||||
best = min(registered,
|
||||
key=lambda a: self.counter._active.get(a, 0))
|
||||
key=lambda a: self.counter.active_agents.get(a, 0))
|
||||
return best
|
||||
return registered[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user