Skip to content

Commit df2f1b3

Browse files
committed
Adjust archive limits
1 parent 81b3fbb commit df2f1b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/hexora_io/src/archive.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use std::fs;
44
use std::io::Read;
55
use std::path::{Path, PathBuf};
66

7-
const MAX_ARCHIVE_SIZE: u64 = 10 * 1024 * 1024; // 10MB
8-
const MAX_FILES_IN_ARCHIVE: usize = 1500;
7+
const MAX_ARCHIVE_SIZE: u64 = 50 * 1024 * 1024; // 50MB
8+
const MAX_FILES_IN_ARCHIVE: usize = 2500;
99

1010
// When a zip is password-protected, we try "infected" as the password.
1111
// This is hardcoded for now, but works for testing purposes.

0 commit comments

Comments
 (0)