revert: leave max_attempts alone

sys.maxsize was the original bug, but only because solve_captcha was called
in a retry loop. That call is gone, so MAX_ATTEMPTS now only reaches
ClickSolver at construction and never bounds anything; the solve loop is
bounded by timer.remaining(). Reverting a change that no longer does
anything.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TDMac4vGGcBhoUB5V6bvFK
This commit is contained in:
ThePhaseless
2026-08-17 11:13:40 +02:00
co-authored by Claude Opus 5
parent 691aaa6f3f
commit c7633b4525
+2 -1
View File
@@ -1,4 +1,5 @@
import logging
import sys
from pydantic_settings import BaseSettings, SettingsConfigDict
@@ -9,7 +10,7 @@ class Settings(BaseSettings):
log_level: str = "INFO"
version: str = "unknown"
max_attempts: int = 5
max_attempts: int = sys.maxsize
proxy_server: str | None = None
proxy_username: str | None = None