parent
d4acb9d719
commit
00e9b17043
|
@ -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")
|
||||
|
|
|
@ -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()?,
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue