Harmonise defaults between cli and builder

This commit is contained in:
Félix Saparelli 2021-04-11 00:57:46 +12:00
parent 0b79e93c84
commit 268c0cee38
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ pub struct Args {
#[builder(default)]
pub restart: bool,
/// Interval to debounce the changes. (milliseconds)
#[builder(default = "300")]
#[builder(default = "500")]
pub debounce: u64,
/// Enable debug/verbose logging. No longer used as of 1.14.0 (soft-deprecated).
///
@ -83,7 +83,7 @@ pub struct Args {
#[builder(default)]
pub poll: bool,
/// Interval for polling. (milliseconds)
#[builder(default = "2")]
#[builder(default = "1000")]
pub poll_interval: u32,
#[builder(default)]
pub watch_when_idle: bool,