Skip to content

Commit df9095d

Browse files
authored
change compress level to 6 from default 9 to accelerate compress (#593)
1 parent 58c7674 commit df9095d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpgen/dispatcher/SSHContext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _put_files(self,
280280
os.chdir(self.local_root)
281281
if os.path.isfile(of) :
282282
os.remove(of)
283-
with tarfile.open(of, "w:gz", dereference = dereference) as tar:
283+
with tarfile.open(of, "w:gz", dereference = dereference, compresslevel=6) as tar:
284284
for ii in files :
285285
tar.add(ii)
286286
os.chdir(cwd)

0 commit comments

Comments
 (0)