perf(douyu): 拆分支付轮询并扩展查询并发

This commit is contained in:
yml
2026-11-21 10:38:39 +08:00
parent 743fa69630
commit 3987464035
21 changed files with 1151 additions and 531 deletions
+4
View File
@@ -97,6 +97,9 @@ def list_jobs(
from ..services.binding_poll_scheduler import (
scheduler_status as binding_poll_status,
)
from ..services.payment_poll_scheduler import (
scheduler_status as payment_poll_status,
)
from ..services.task_runtime import lane_stats
pending_relogin = count_pending_relogin(db)
@@ -109,6 +112,7 @@ def list_jobs(
if callable(getattr(worker_engine.pool, "status", None))
else "",
"binding_poll": binding_poll_status(),
"payment_poll": payment_poll_status(),
},
"pending_relogin": pending_relogin,
"jobs": [