Update timeout in check alive
This commit is contained in:
parent
c0ae4a4d61
commit
20d67f6f9f
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -72,7 +72,7 @@ def check_alive(ctx: Context) -> None:
|
||||||
print("Server is up & running")
|
print("Server is up & running")
|
||||||
return
|
return
|
||||||
except requests.exceptions.HTTPError as e:
|
except requests.exceptions.HTTPError as e:
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
exception = e
|
exception = e
|
||||||
raise RuntimeError("Failed to reach the server") from exception
|
raise RuntimeError("Failed to reach the server") from exception
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue