feat(douyu): unify account probes and lifecycle writes

Centralize Douyu client creation, CK session probing, identity refresh, role alias resolution, capability persistence, cache and batch throttling across collaboration, fulfillment, tasks and cookie management. Add the account-name copy action in the collaboration table.
This commit is contained in:
yml
2026-11-20 01:55:25 +08:00
parent e9937419cb
commit 1a49bcd481
24 changed files with 2162 additions and 639 deletions
+2
View File
@@ -74,6 +74,8 @@ DB_LOCK_WAIT_TIMEOUT=10
DOUYU_BATCH_CREATE_CONCURRENCY=2
DOUYU_MAX_ACTIVE_BATCHES=20
DOUYU_MAX_ACTIVE_TASKS=250
DOUYU_PROBE_CACHE_SECONDS=30
DOUYU_COLLAB_VERIFY_BATCH_INTERVAL_SECONDS=0.2
# Cookie 安全标志(生产环境 HTTPS 部署时设为 true)
COOKIE_SECURE=false