Skip to content

Commit

Permalink
Увеличил задержку. Авто-чейнжлоги
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Nov 7, 2024
1 parent 003e324 commit 9e79fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/ADT/auto_cl.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def check_rate_limit(session: aiohttp.ClientSession):
logging.error(f"Error checking rate limit: {response.status}")
response.raise_for_status()

async def fetch_with_retry(session: aiohttp.ClientSession, url, retries=3, delay=2.1):
async def fetch_with_retry(session: aiohttp.ClientSession, url, retries=3, delay=7.1):
for attempt in range(retries):
await check_rate_limit(session)

Expand Down

0 comments on commit 9e79fed

Please sign in to comment.