fix(douyu): 修复斗鱼链路 P0/P1 隐患并增强 P2 运维队列可观测性

This commit is contained in:
yml
2026-11-29 14:10:24 +08:00
parent be7146a9ef
commit d12d9e02b3
51 changed files with 2510 additions and 561 deletions
+10 -3
View File
@@ -836,9 +836,16 @@ class LoginBatchRunner:
stop_event=self._stop,
api_strategy=self.api_strategy,
)
result = (
loginer.check_account() if self.mode == "check" else loginer.login()
)
try:
result = (
loginer.check_account()
if self.mode == "check"
else loginer.login()
)
finally:
close = getattr(loginer, "close", None)
if callable(close):
close()
if self.mode == "check" and result.success:
status = (