Change API host port to 8002

This commit is contained in:
vrubelroman 2026-03-21 23:14:51 +03:00
parent 63e28c279c
commit 0e3a0bfc48
4 changed files with 7 additions and 9 deletions

View file

@ -26,7 +26,7 @@ else:
# Lichess API Configuration
LICHESS_API_BASE_URL = "https://lichess.org/api"
LICHESS_STATS_API_BASE_URL = "http://localhost:8001" # For Docker container access
LICHESS_STATS_API_BASE_URL = "http://localhost:8002" # Host port for stats API when bot runs with host networking
# Минимальная задержка (сек) между запросами к Lichess в очереди мониторинга (избежание бана)
LICHESS_REQUEST_QUEUE_MIN_DELAY = 4.0