Update concurrency
This commit is contained in:
parent
f76dbb13fd
commit
8244b9241a
@ -78,7 +78,7 @@ def process_file(file_path):
|
|||||||
|
|
||||||
def download_and_process_file(url):
|
def download_and_process_file(url):
|
||||||
try:
|
try:
|
||||||
command = f'axel -n 3 {url}'
|
command = f'axel -n 4 {url}'
|
||||||
result = subprocess.run(command, shell=True, check=True)
|
result = subprocess.run(command, shell=True, check=True)
|
||||||
if result.returncode == 0:
|
if result.returncode == 0:
|
||||||
file_path = os.path.join(os.getcwd(), os.path.basename(url))
|
file_path = os.path.join(os.getcwd(), os.path.basename(url))
|
||||||
|
Loading…
Reference in New Issue
Block a user