perf(worker): match the user export zip level to the guild one (#2213)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-31 00:07:03 +02:00
1 parent 7aec79d3ad
commit 7157cca22f
1 file changed
+1 -1
@@ -604,7 +604,7 @@ async function createAndUploadArchive(params: ArchiveParams): Promise<ArchiveRes
let output: fs.WriteStream | null = null;
try {
output = fs.createWriteStream(zipPath);
const archive = archiver('zip', {zlib: {level: 9}});
const archive = archiver('zip', {zlib: {level: 6}});
archive.pipe(output);
archive.append(userDataJsonBuffer, {name: 'user.json'});
if (user.avatarHash) {