Skip to content

Commit 46c05b1

Browse files
committed
reduce debouncing to 1 second
1 parent 142d59d commit 46c05b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debouncer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl DebouncerState {
4646
break;
4747
};
4848

49-
if timestamp.duration_since(now) < Duration::from_secs(10) {
49+
if timestamp.duration_since(now) < Duration::from_secs(1) {
5050
self.heap.push(Reverse((timestamp, token)));
5151
break;
5252
}

0 commit comments

Comments
 (0)