auto-sync: 2026-05-17 19:49:13

This commit is contained in:
cfdaily
2026-05-17 19:49:13 +08:00
parent 92e47176e6
commit f598389a5c
+1 -1
View File
@@ -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]