chore: increase debounce timeout for file change events to prevent multiple events from being sent for a single file change

This commit is contained in:
Kiril Videlov 2024-02-17 18:18:31 +01:00 committed by Kiril Videlov
parent af907c2902
commit dd5049244b

View File

@ -22,7 +22,7 @@ pub struct Dispatcher {
/// The timeout for debouncing file change events.
/// This is used to prevent multiple events from being sent for a single file change.
static DEBOUNCE_TIMEOUT: Duration = Duration::from_millis(10);
static DEBOUNCE_TIMEOUT: Duration = Duration::from_millis(100);
#[derive(Debug, thiserror::Error)]
pub enum RunError {