Skip to content

Commit 0f19d81

Browse files
authored
Merge pull request #2363 from SuperHacker-liuan/issue2362
Update the sanity limit from 200M to 220M per file.
2 parents 27c918e + e464190 commit 0f19d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/component/package.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fn unpack_without_first_dir<'a, R: Read>(
296296
let entries = archive
297297
.entries()
298298
.chain_err(|| ErrorKind::ExtractingPackage)?;
299-
const MAX_FILE_SIZE: u64 = 200_000_000;
299+
const MAX_FILE_SIZE: u64 = 220_000_000;
300300
let effective_max_ram = match effective_limits::memory_limit() {
301301
Ok(ram) => Some(ram as usize),
302302
Err(e) => {

0 commit comments

Comments
 (0)