修复虎牙注册续跑逻辑:默认从停止处继续,不重试已失败项

「继续未完成」只跑 pending/stopped;另提供「重试失败」可选重跑 error。避免大批量中途停止后把失败号全部再跑一遍。
This commit is contained in:
yml2213
2026-07-12 20:08:03 +08:00
parent e18b2c6e0c
commit 851d8c122b
5 changed files with 142 additions and 60 deletions
+2
View File
@@ -224,6 +224,8 @@ export interface HuyaAutoRegisterRequest {
}
export interface HuyaAutoRegisterRetryRequest {
/** continue=从停止处继续(默认,不重试失败);retry_failed=只重试失败;all_unfinished=失败+未完成 */
mode?: 'continue' | 'retry_failed' | 'all_unfinished';
concurrency?: number;
wait_seconds?: number;
poll_interval?: number;