summaryrefslogtreecommitdiff
path: root/src/bin/git-autosave-daemon.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git-autosave-daemon.rs')
-rw-r--r--src/bin/git-autosave-daemon.rs4
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,