lidavidm commented on code in PR #15090: URL: https://github.com/apache/arrow/pull/15090#discussion_r1057001901
########## dev/release/download_rc_binaries.py: ########## @@ -190,12 +192,18 @@ def _download_file(self, dest, asset): print("Already downloaded", dest_path) return - return self._download_url( + delay = random.randint(0, 3) + print(f"Waiting {delay} seconds to avoid rate limit") + time.sleep(delay) + + self._download_url( url, dest_path, extra_args=[ "--header", "Accept: application/octet-stream", + # Also retry 403s + "--retry-all-errors", Review Comment: Good catch! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org