Skip to content

Commit

Permalink
🚸 Increase timeouts in solc version manager
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Oct 7, 2024
1 parent 76c8703 commit 5c711a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wake/svm/svm.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async def install(

for retry in range(self.INSTALL_RETRY_COUNT):
if http_session is None:
async with aiohttp.ClientSession() as session:
async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=600)) as session:
await self.__download_file(
download_url, local_path, session, progress
)
Expand Down Expand Up @@ -266,7 +266,7 @@ def __fetch_list_file(self) -> None:
return

try:
with urllib.request.urlopen(self.__solc_list_url, timeout=0.25) as response:
with urllib.request.urlopen(self.__solc_list_url, timeout=0.5) as response:
json = response.read()
self.__solc_builds = SolcBuilds.model_validate_json(json)
self.__solc_list_path.write_bytes(json)
Expand Down

0 comments on commit 5c711a1

Please sign in to comment.