Skip to content

Commit

Permalink
seconday conn log level
Browse files Browse the repository at this point in the history
  • Loading branch information
smartgoo committed Dec 8, 2024
1 parent 2902a57 commit fb74985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/src/db/conn_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ impl ConnBuilder<PathBuf, false, Unspecified, i32> {
pub fn build_secondary(self, secondary_path: PathBuf) -> Result<Arc<DB>, kaspa_utils::fd_budget::Error> {
let (mut opts, guard) = default_opts!(self)?;
opts.set_max_open_files(-1);
opts.set_log_level(rocksdb::LogLevel::Debug);
let db = Arc::new(DB::new(
<DBWithThreadMode<MultiThreaded>>::open_as_secondary(
&opts,
Expand Down

0 comments on commit fb74985

Please sign in to comment.