From 00c0678135548510316327c094b04b0a3840974c Mon Sep 17 00:00:00 2001 From: datechnoman Date: Mon, 4 Dec 2023 12:00:27 +0000 Subject: [PATCH] Update multithread_script_5.0.py --- multithread_script_5.0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multithread_script_5.0.py b/multithread_script_5.0.py index 8a2b55d..ab982f3 100644 --- a/multithread_script_5.0.py +++ b/multithread_script_5.0.py @@ -43,7 +43,7 @@ def extract_urls_from_directory(directory_path): # Create a multiprocessing Pool with the number of processes # based on the available CPU cores - pool = Pool(processes=12) + pool = Pool(processes=16) # Map the file processing function to the list of files pool.map(process_file, [os.path.join(directory_path, filename) for filename in file_list if filename.endswith('.wat.gz')])