From 628dbdaffdf97db4db4e00777dbb3c4072019f64 Mon Sep 17 00:00:00 2001 From: Mica White Date: Sun, 29 Mar 2026 19:55:31 -0400 Subject: Added git-restore-autosave --- src/bin/git-autosave-daemon.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/git-autosave-daemon.rs') diff --git a/src/bin/git-autosave-daemon.rs b/src/bin/git-autosave-daemon.rs index 05ead05..a0066a5 100644 --- a/src/bin/git-autosave-daemon.rs +++ b/src/bin/git-autosave-daemon.rs @@ -170,7 +170,7 @@ fn main() -> Result<(), anyhow::Error> { log::info!("Starting repository watcher..."); let repo_watcher = Box::leak(Box::new(notify_debouncer_full::new_debouncer( - Duration::from_secs(1), + Duration::from_secs(5), None, Watcher(config), )?)); @@ -186,7 +186,7 @@ fn main() -> Result<(), anyhow::Error> { log::info!("Started repository watcher"); log::info!("Starting configuration watcher..."); notify_debouncer_full::new_debouncer( - Duration::from_secs(1), + Duration::from_secs(5), None, ConfigWatcher { config, -- cgit v1.2.3