hide commonly misused `--no-port-check` validator arg (#30306)
This commit is contained in:
parent
b678ee3583
commit
0487a4bd60
|
@ -439,12 +439,6 @@ solana-validator ..."); otherwise, when logrotate sends its signal to the
|
|||
validator, the enclosing script will die and take the validator process with
|
||||
it.
|
||||
|
||||
### Disable port checks to speed up restarts
|
||||
|
||||
Once your validator is operating normally, you can reduce the time it takes to
|
||||
restart your validator by adding the `--no-port-check` flag to your
|
||||
`solana-validator` command-line.
|
||||
|
||||
### Using a ramdisk with spill-over into swap for the accounts database to reduce SSD wear
|
||||
|
||||
If your machine has plenty of RAM, a tmpfs ramdisk
|
||||
|
|
|
@ -195,6 +195,7 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
|||
Arg::with_name("no_port_check")
|
||||
.long("no-port-check")
|
||||
.takes_value(false)
|
||||
.hidden(true)
|
||||
.help("Do not perform TCP/UDP reachable port checks at start-up")
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in New Issue