Skip to content

Commit 1430c0d

Browse files
committed
Update compression threshold in Tauri app
Reduced the compression threshold from 16MB to 4KB in the Tauri app configuration to optimize caching behavior.
1 parent 4ef8b25 commit 1430c0d

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(1024 * 1024 * 16),
15+
compression_threshold: Some(4096),
1616
compression_method: Some(tauri_plugin_cache::CompressionMethod::Lzma2),
1717
};
1818

0 commit comments

Comments
 (0)