delay in config and setup = 5sec

This commit is contained in:
vrubelroman 2026-02-04 23:51:32 +03:00
parent 2ac38440da
commit 0de0deb14f
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,8 @@ 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 в очереди мониторинга (избежание бана)
LICHESS_REQUEST_QUEUE_MIN_DELAY = 5.0
# Database Configuration
def _resolve_database_path() -> str: