Final change to --debounce default: down to 50ms

Closes #168
This commit is contained in:
Félix Saparelli 2022-01-22 14:45:43 +13:00 committed by Félix Saparelli
parent d4acb9d719
commit 00e9b17043
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ pub fn get_args(tagged_filterer: bool) -> Result<ArgMatches<'static>> {
.long("kill"))
.arg(Arg::with_name("debounce")
.help_heading(Some(OPTSET_BEHAVIOUR))
.help("Set the timeout between detected change and command execution, defaults to 100ms")
.help("Set the timeout between detected change and command execution, defaults to 50ms")
.takes_value(true)
.value_name("milliseconds")
.short("d")

View File

@ -30,7 +30,7 @@ pub fn runtime(args: &ArgMatches<'static>) -> Result<RuntimeConfig> {
config.action_throttle(Duration::from_millis(
args.value_of("debounce")
.unwrap_or("100")
.unwrap_or("50")
.parse()
.into_diagnostic()?,
));