add --no-os-network-stats-reporting option (#21296)

This commit is contained in:
Jeff Biseda
2021-11-16 10:26:03 -08:00
committed by GitHub
parent db6d291127
commit d5de0c8e12
5 changed files with 24 additions and 10 deletions

View File

@ -958,6 +958,11 @@ pub fn main() {
.long("no-os-network-limits-test")
.help("Skip checks for OS network limits.")
)
.arg(
Arg::with_name("no_os_network_stats_reporting")
.long("no-os-network-stats-reporting")
.help("Disable reporting of OS network statistics.")
)
.arg(
Arg::with_name("accounts-hash-interval-slots")
.long("accounts-hash-interval-slots")
@ -2262,6 +2267,7 @@ pub fn main() {
),
},
no_poh_speed_test: matches.is_present("no_poh_speed_test"),
no_os_network_stats_reporting: matches.is_present("no_os_network_stats_reporting"),
poh_pinned_cpu_core: value_of(&matches, "poh_pinned_cpu_core")
.unwrap_or(poh_service::DEFAULT_PINNED_CPU_CORE),
poh_hashes_per_batch: value_of(&matches, "poh_hashes_per_batch")