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

fix dead code warning

Louis Beaumont21ac9158aae7
diff --git a/screenpipe-server/src/video_cache.rs b/screenpipe-server/src/video_cache.rs
index 1b9fc4fe5..8335a41d4 100644
--- a/screenpipe-server/src/video_cache.rs
+++ b/screenpipe-server/src/video_cache.rs
@@ -104,13 +104,17 @@ enum CompressionType {
struct CacheEntry {
frame: CachedFrame,
path: PathBuf,
+ #[allow(dead_code)]
last_accessed: SystemTime,
}
#[derive(Debug, Clone)]
+#[allow(dead_code)]
struct CacheConfig {
cache_dir: PathBuf,
+ #[allow(dead_code)]
max_cache_size_gb: f64,
+ #[allow(dead_code)]
frame_retention_days: u64,
compression_quality: u8,
}