fix: Correct mistake from merge conflict resolution

This commit is contained in:
azy 2025-02-18 16:48:34 +08:00
parent 3bfe696381
commit f8e0128d5e
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ impl PreviewerConfig {
}
}
const REQUEST_STACK_SIZE: usize = 20;
const REQUEST_STACK_SIZE: usize = 10;
impl Previewer {
pub fn new(config: Option<PreviewerConfig>) -> Self {

View File

@ -141,7 +141,7 @@ impl FilePreviewer {
/// The size of the buffer used to read the file in bytes.
/// This ends up being the max size of partial previews.
const PARTIAL_BUFREAD_SIZE: usize = 64 * 1024;
const PARTIAL_BUFREAD_SIZE: usize = 5 * 1024 * 1024;
pub fn try_preview(
entry: &entry::Entry,