Add struct BlockstoreOptions (#22121)
This commit is contained in:
committed by
GitHub
parent
33ad74fbcd
commit
e8b7f96a89
@ -6,7 +6,7 @@ use {
|
||||
solana_genesis_utils::download_then_check_genesis_hash,
|
||||
solana_gossip::{cluster_info::ClusterInfo, contact_info::ContactInfo},
|
||||
solana_ledger::{
|
||||
blockstore::Blockstore, blockstore_db::AccessType, blockstore_processor,
|
||||
blockstore::Blockstore, blockstore_db::BlockstoreOptions, blockstore_processor,
|
||||
leader_schedule_cache::LeaderScheduleCache,
|
||||
},
|
||||
solana_replica_lib::accountsdb_repl_client::AccountsDbReplClientServiceConfig,
|
||||
@ -177,9 +177,10 @@ fn start_client_rpc_services(
|
||||
let blockstore = Arc::new(
|
||||
Blockstore::open_with_access_type(
|
||||
&replica_config.ledger_path,
|
||||
AccessType::PrimaryOnly,
|
||||
None,
|
||||
false,
|
||||
BlockstoreOptions {
|
||||
enforce_ulimit_nofile: false,
|
||||
..BlockstoreOptions::default()
|
||||
},
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
Reference in New Issue
Block a user