mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +00:00
fix: Correct mistake from merge conflict resolution
This commit is contained in:
parent
3bfe696381
commit
f8e0128d5e
@ -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 {
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user