diff --git a/src/update_paratranz.py b/src/update_paratranz.py index 05c45bb..0b59a85 100644 --- a/src/update_paratranz.py +++ b/src/update_paratranz.py @@ -77,7 +77,7 @@ def __create_or_update_file(token: str, project_id: int, filepath: str, file_rel for root, _, files in os.walk(os.path.join(args.loc_dir, args.language)): for file in files: all_files.append(os.path.join(root, file)) - Parallel(n_jobs=args.parallel_nb, backend="multiprocessing")( + Parallel(n_jobs=args.parallel_nb, backend="threading")( delayed(create_or_update_file)(args.token, args.project_id, args.loc_dir, args.language, file_path, current_files) for file_path in all_files) print(f"Total time of the execution: {compute_time(start)}")