Skip to content

Commit

Permalink
feat: handle GH rate limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Nov 9, 2023
1 parent 5f864cf commit a13feb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solcx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def _get_temp_folder() -> Path:
return path


def _download_solc(url: str, show_progress: bool, rate_limit_wait_time: int = 3) -> bytes:
def _download_solc(url: str, show_progress: bool, rate_limit_wait_time: float = 3.0) -> bytes:
LOGGER.info(f"Downloading from {url}")
response = requests.get(url, stream=show_progress)
if response.status_code == 404:
Expand Down

0 comments on commit a13feb0

Please sign in to comment.