mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
perf(worker): match the user export zip level to the guild one (#2213)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user