From 94a626188533b05ac420854be3a8a4f9cf617989 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 20 Mar 2024 15:40:24 -0600 Subject: [PATCH] Revert "Reduce notify debounce time to 100ms" This reverts commit 541e0ff06ec9f5f211160c3655f5f101d3244f7f. --- src/app.rs | 2 +- src/dialog.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 28b6cec..395e60a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1577,7 +1577,7 @@ impl Application for App { let watcher_res = { let mut output = output.clone(); new_debouncer( - time::Duration::from_millis(100), + time::Duration::from_secs(1), None, move |events_res: notify_debouncer_full::DebounceEventResult| { match events_res { diff --git a/src/dialog.rs b/src/dialog.rs index a6ae318..fdfb64d 100644 --- a/src/dialog.rs +++ b/src/dialog.rs @@ -678,7 +678,7 @@ impl Application for App { let watcher_res = { let mut output = output.clone(); new_debouncer( - time::Duration::from_millis(100), + time::Duration::from_secs(1), None, move |events_res: notify_debouncer_full::DebounceEventResult| { match events_res {