parent
8bc8f77820
commit
c831185968
|
@ -213,12 +213,6 @@ fn main() {
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Number of threads to use in the banking stage"),
|
.help("Number of threads to use in the banking stage"),
|
||||||
)
|
)
|
||||||
.arg(
|
|
||||||
Arg::new("log_messages_bytes_limit")
|
|
||||||
.long("log-messages-bytes-limit")
|
|
||||||
.takes_value(false)
|
|
||||||
.help("Maximum number of bytes written to the program log before truncation"),
|
|
||||||
)
|
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("tpu_use_quic")
|
Arg::new("tpu_use_quic")
|
||||||
.long("tpu-use-quic")
|
.long("tpu-use-quic")
|
||||||
|
@ -242,7 +236,6 @@ fn main() {
|
||||||
let write_lock_contention = matches
|
let write_lock_contention = matches
|
||||||
.value_of_t::<WriteLockContention>("write_lock_contention")
|
.value_of_t::<WriteLockContention>("write_lock_contention")
|
||||||
.unwrap_or(WriteLockContention::None);
|
.unwrap_or(WriteLockContention::None);
|
||||||
let log_messages_bytes_limit = matches.value_of_t::<usize>("log_messages_bytes_limit").ok();
|
|
||||||
|
|
||||||
let mint_total = 1_000_000_000_000;
|
let mint_total = 1_000_000_000_000;
|
||||||
let GenesisConfigInfo {
|
let GenesisConfigInfo {
|
||||||
|
@ -363,7 +356,7 @@ fn main() {
|
||||||
None,
|
None,
|
||||||
replay_vote_sender,
|
replay_vote_sender,
|
||||||
Arc::new(RwLock::new(CostModel::default())),
|
Arc::new(RwLock::new(CostModel::default())),
|
||||||
log_messages_bytes_limit,
|
None,
|
||||||
Arc::new(connection_cache),
|
Arc::new(connection_cache),
|
||||||
bank_forks.clone(),
|
bank_forks.clone(),
|
||||||
);
|
);
|
||||||
|
|
|
@ -2645,7 +2645,7 @@ pub fn main() {
|
||||||
accounts_shrink_ratio,
|
accounts_shrink_ratio,
|
||||||
runtime_config: RuntimeConfig {
|
runtime_config: RuntimeConfig {
|
||||||
bpf_jit: !matches.is_present("no_bpf_jit"),
|
bpf_jit: !matches.is_present("no_bpf_jit"),
|
||||||
log_messages_bytes_limit: value_t!(matches, "log_messages_bytes_limit", usize).ok(),
|
log_messages_bytes_limit: value_of(&matches, "log_messages_bytes_limit"),
|
||||||
..RuntimeConfig::default()
|
..RuntimeConfig::default()
|
||||||
},
|
},
|
||||||
enable_quic_servers,
|
enable_quic_servers,
|
||||||
|
|
Loading…
Reference in New Issue