kszucs commented on code in PR #12996:
URL: https://github.com/apache/arrow/pull/12996#discussion_r858473136


##########
dev/archery/archery/crossbow/cli.py:
##########
@@ -339,7 +340,24 @@ def asset_callback(task_name, task, asset):
             path = target_dir / task_name / asset.name
             path.parent.mkdir(exist_ok=True)
             if not dry_run:
-                asset.download(path)
+                import github3
+                max_n_retries = 5
+                n_retries = 0
+                while True:

Review Comment:
   ```suggestion
                   for n_retries in range(max_n_retries):
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to