mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-12-01 00:15:56 +08:00
fix(subscribe): stop failing sites from stalling subscription downloads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
committed by
InfinityPacer
parent
9eaaf5f715
commit
5de950fb7c
@@ -678,10 +678,11 @@ def _run_site_pressure_case(
|
||||
)
|
||||
cooldown_calls = boundary.calls - calls_before_cooldown
|
||||
cooldown_deferrals = loser.consume_subscription_site_budget_deferrals()
|
||||
# 出错暂停中的站点本轮直接跳过:不发请求,也不让订阅进入等待。
|
||||
error_cooldown_blocked = bool(
|
||||
not cooldown_result
|
||||
and cooldown_calls == 0
|
||||
and cooldown_deferrals
|
||||
and not cooldown_deferrals
|
||||
)
|
||||
error_cooldown_persisted = bool(
|
||||
error_record
|
||||
|
||||
Reference in New Issue
Block a user