auto-sync: 2026-05-17 19:06:50

This commit is contained in:
cfdaily
2026-05-17 19:06:50 +08:00
parent e545a6617a
commit 03ccc49390
+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_count(a))
key=lambda a: self.counter._active.get(a, 0))
return best
return registered[0]