fix: address review follow-up hardening

This commit is contained in:
github-actions[bot]
2026-07-14 14:53:49 +00:00
parent 800248d646
commit 6867124b17
7 changed files with 148 additions and 434 deletions
+2 -2
View File
@@ -251,9 +251,9 @@ def poll_device_token(
"device_code": str(device_code).strip(),
"client_id": client_id,
},
timeout=timeout,
timeout=min(float(timeout), 5.0),
proxy=proxy,
retries=2,
retries=0,
retry_sleep=1.0,
)
net_streak = 0