Removed multithread compression and added force overwrite for compression files
This commit is contained in:
parent
ebc07a6974
commit
486a68a796
@ -60,7 +60,7 @@ def process_file(file_path):
|
||||
|
||||
# Use zstd command-line tool for compression
|
||||
compressed_file_path = f'{output_file_path}.zst'
|
||||
command_compress = f'zstd -f -T0 -12 --long {output_file_path} -o {compressed_file_path}'
|
||||
command_compress = f'zstd -12 --long --force {output_file_path} -o {compressed_file_path}'
|
||||
|
||||
try:
|
||||
# Run the compression command synchronously and wait for it to complete
|
||||
|
Loading…
Reference in New Issue
Block a user