Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

style: cargo fmt defaults.rs (align trailing comments)

Louis Beaumont2f8a98ffbe68
diff --git a/crates/screenpipe-config/src/defaults.rs b/crates/screenpipe-config/src/defaults.rs
index 2db84a338..01aa44a06 100644
--- a/crates/screenpipe-config/src/defaults.rs
+++ b/crates/screenpipe-config/src/defaults.rs
@@ -109,14 +109,14 @@ impl DbConfig {
match tier {
DeviceTier::High => Self::default(),
DeviceTier::Mid => Self {
- mmap_size: 0, // disabled — see DbConfig::default (prevents DB corruption)
+ mmap_size: 0, // disabled — see DbConfig::default (prevents DB corruption)
cache_size_kb: 32_000, // 32 MB
read_pool_max: 12,
read_pool_min: 2,
write_pool_max: 6,
},
DeviceTier::Low => Self {
- mmap_size: 0, // disabled — see DbConfig::default (prevents DB corruption)
+ mmap_size: 0, // disabled — see DbConfig::default (prevents DB corruption)
cache_size_kb: 8_000, // 8 MB
read_pool_max: 5,
read_pool_min: 1,
@@ -138,7 +138,7 @@ impl Default for DbConfig {
// page cache below is the safe default and the integrity win is
// worth the small read-throughput cost for a capture product.
mmap_size: 0,
- cache_size_kb: 64_000, // 64 MB
+ cache_size_kb: 64_000, // 64 MB
read_pool_max: 27,
read_pool_min: 3,
write_pool_max: 8,