raulcd commented on code in PR #14248:
URL: https://github.com/apache/arrow/pull/14248#discussion_r982302380
##########
dev/archery/archery/crossbow/cli.py:
##########
@@ -558,11 +558,14 @@ def upload_artifacts(obj, tag, sha, patterns, method):
help='Just display process, don\'t download anything')
@click.option('--days', default=90,
help='Branches older than this amount of days will be deleted')
[email protected]('--maximum', default=1000,
+ help='Maximum limit of branches to delete for a single run')
@click.pass_obj
-def delete_old_branches(obj, dry_run, days):
+def delete_old_branches(obj, dry_run, days, maximum):
"""
Deletes branches on queue repository (crossbow) that are older than number
of days.
+ With a maximum number of branches to be deleted.
Review Comment:
I've added a comment about why is required.
--
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]