diff --git a/personal/combine/build_month.py b/personal/combine/build_month.py index b5c2abd..f1b5147 100644 --- a/personal/combine/build_month.py +++ b/personal/combine/build_month.py @@ -155,7 +155,7 @@ if __name__ == "__main__": sys.exit(2) output_path = os.path.join(args.output, args.type, f"{prefix}_{month.strftime('%Y-%m')}.zst") - output_handle = zstandard.ZstdCompressor(level=level).stream_writer(open(output_path, 'wb')) + output_handle = zstandard.ZstdCompressor(level=level, threads=-1).stream_writer(open(output_path, 'wb')) count_objects = 0 minute_iterator = month