Reduce notify debounce time to 100ms

This commit is contained in:
Jeremy Soller 2024-03-20 15:18:50 -06:00
parent 44475ec99c
commit 541e0ff06e
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 2 additions and 2 deletions

View file

@ -1577,7 +1577,7 @@ impl Application for App {
let watcher_res = {
let mut output = output.clone();
new_debouncer(
time::Duration::from_secs(1),
time::Duration::from_millis(100),
None,
move |events_res: notify_debouncer_full::DebounceEventResult| {
match events_res {

View file

@ -678,7 +678,7 @@ impl Application for App {
let watcher_res = {
let mut output = output.clone();
new_debouncer(
time::Duration::from_secs(1),
time::Duration::from_millis(100),
None,
move |events_res: notify_debouncer_full::DebounceEventResult| {
match events_res {