This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 6bf5de176b ARROW-18220: [Dev] Remove a magic number for the default 
parallel level in downloader (#14563)
6bf5de176b is described below

commit 6bf5de176b492ce4703d30ad0a306ceaf62bb2c7
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Nov 3 06:20:12 2022 +0900

    ARROW-18220: [Dev] Remove a magic number for the default parallel level in 
downloader (#14563)
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 dev/release/download_rc_binaries.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/release/download_rc_binaries.py 
b/dev/release/download_rc_binaries.py
index ebd66a274d..c800bd2aaf 100755
--- a/dev/release/download_rc_binaries.py
+++ b/dev/release/download_rc_binaries.py
@@ -195,7 +195,8 @@ if __name__ == '__main__':
                               'to only download certain files'))
     parser.add_argument('--dest', type=str, default=os.getcwd(),
                         help='The output folder for the downloaded files')
-    parser.add_argument('--num_parallel', type=int, default=8,
+    parser.add_argument('--num_parallel', type=int,
+                        default=DEFAULT_PARALLEL_DOWNLOADS,
                         help='The number of concurrent downloads to do')
     parser.add_argument('--package_type', type=str, default=None,
                         help='The package type to be downloaded')

Reply via email to