Change compression ratio

Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
anasty17 2025-01-01 19:06:42 +02:00
parent 628e96df3f
commit a8101c1386
No known key found for this signature in database
GPG Key ID: EAAC8A2DF2861DE4
2 changed files with 2 additions and 3 deletions

View File

@ -669,7 +669,7 @@ class TaskConfig:
if (
not self.seed
and self.subproc is not None
and self.subproc.returncode == 0
and code == 0
):
for file_ in files:
if is_archive_split(file_) or is_archive(file_):
@ -761,7 +761,7 @@ class TaskConfig:
"7z",
f"-v{split_size}b",
"a",
"-mx=9",
"-mx=0",
f"-p{pswd}",
up_path,
dl_path,

View File

@ -488,7 +488,6 @@ async def split_file(
async with listener.subprocess_lock:
if listener.is_cancelled:
return False
code = listener.subproc.returncode
if code == -9:
listener.is_cancelled = True
return False