Skip to content

Commit 4ef8b25

Browse files
committed
Increase compression threshold in Tauri app
Updated the compression threshold in the Tauri app example from 4096 to 16 MB (1024 * 1024 * 16) to accommodate larger data sizes.
1 parent 9162cdc commit 4ef8b25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/tauri-app/src-tauri/src

examples/tauri-app/src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn run() {
1212
cleanup_interval: Some(120),
1313
default_compression: Some(true),
1414
compression_level: Some(9),
15-
compression_threshold: Some(4096),
15+
compression_threshold: Some(1024 * 1024 * 16),
1616
compression_method: Some(tauri_plugin_cache::CompressionMethod::Lzma2),
1717
};
1818

0 commit comments

Comments
 (0)