solana-validator wait-for-restart-window --min-idle-time X
now works
This commit is contained in:
@ -1648,8 +1648,8 @@ pub fn main() {
|
|||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("min_idle_time")
|
Arg::with_name("min_idle_time")
|
||||||
.takes_value(true)
|
|
||||||
.long("min-idle-time")
|
.long("min-idle-time")
|
||||||
|
.takes_value(true)
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
.value_name("MINUTES")
|
.value_name("MINUTES")
|
||||||
.default_value("10")
|
.default_value("10")
|
||||||
@ -1733,6 +1733,7 @@ pub fn main() {
|
|||||||
.about("Monitor the validator for a good time to restart")
|
.about("Monitor the validator for a good time to restart")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("min_idle_time")
|
Arg::with_name("min_idle_time")
|
||||||
|
.long("min-idle-time")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.index(1)
|
.index(1)
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
|
Reference in New Issue
Block a user