change concurrency 10 (#3330)

This commit is contained in:
Yovangga Anandhika 2026-01-30 11:25:25 +08:00 • committed by GitHub
commit 58990a8159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,7 +162,8 @@ class RemoteAuth extends BaseAuthStrategy {
var stream = fs.createReadStream(compressedSessionPath);
await new Promise((resolve, reject) => {
stream.pipe(unzipper.Extract({
path: this.userDataDir
path: this.userDataDir,
concurrency: 10
}))
.on('error', err => reject(err))
.on('finish', () => resolve());