mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
AAAAAAAA
This commit is contained in:
parent
9082404844
commit
44f0c108c2
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class UptimeCompetition(commands.Cog):
|
||||||
except (httpx.TimeoutException, httpx.HTTPStatusError, ConnectionError, TimeoutError) as err2:
|
except (httpx.TimeoutException, httpx.HTTPStatusError, ConnectionError, TimeoutError) as err2:
|
||||||
attempts += 1
|
attempts += 1
|
||||||
err = err2
|
err = err2
|
||||||
await asyncio.sleep(attempts * 0.25)
|
await asyncio.sleep(1)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
return attempts, response
|
return attempts, response
|
||||||
|
|
Loading…
Reference in a new issue