Harden Turnstile solve path for --fast/Xvfb runs
Add cf_sleep, multi-round shadow clicks, richer diagnostics, and longer profile/CF budgets so tokenLen=0 fails less on headless servers.
This commit is contained in:
1 parent
767516745e
commit
62b6ea8ea2
7 files changed
+391
-129
No files matched your search
+9
-1
@@ -95,10 +95,18 @@
|
||||
"code_form_timeout": 180,
|
||||
"// profile_timeout": "资料页(姓名密码生日)超时(秒)",
|
||||
"profile_timeout": 240,
|
||||
"// turnstile_retry_limit": "Turnstile 失败重试次数",
|
||||
"// turnstile_retry_limit": "Turnstile 失败重试次数(账号级)",
|
||||
"turnstile_retry_limit": 3,
|
||||
"// turnstile_stuck_timeout": "Turnstile 卡住判定超时(秒)",
|
||||
"turnstile_stuck_timeout": 150,
|
||||
"// turnstile_fast_fail_count": "资料页内连续 getTurnstileToken 失败几次后放弃(服务器建议 4)",
|
||||
"turnstile_fast_fail_count": 4,
|
||||
"// turnstile_retry_after_sec": "资料页等待 CF 多久后触发二次复用(秒)",
|
||||
"turnstile_retry_after_sec": 12,
|
||||
"// turnstile_retry_gap_sec": "两次二次复用之间的最小间隔(秒)",
|
||||
"turnstile_retry_gap_sec": 8,
|
||||
"// turnstile_max_rounds": "单次 getTurnstileToken 内 click/poll 轮数",
|
||||
"turnstile_max_rounds": 8,
|
||||
"// sso_timeout_base / sso_timeout_max / sso_progress_extension": "等待 sso cookie 的基础/上限/有进度时延长(秒)",
|
||||
"sso_timeout_base": 240,
|
||||
"sso_timeout_max": 480,
|
||||
|
||||
Reference in new issue
Block a user