diff options
| author | Mica White <botahamec@outlook.com> | 2026-03-29 19:55:31 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-03-29 19:55:31 -0400 |
| commit | 628dbdaffdf97db4db4e00777dbb3c4072019f64 (patch) | |
| tree | a0ab69ad98c85f76086e0465dc090a89a15e03dc /src/bin/git-autosave-daemon.rs | |
| parent | 634f6da6186cd9bdcc0e3dde3a16085ad59536e3 (diff) | |
Added git-restore-autosave
Diffstat (limited to 'src/bin/git-autosave-daemon.rs')
| -rw-r--r-- | src/bin/git-autosave-daemon.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
