Skip to content

Commit

Permalink
Merge d1c6caf into 1712f87
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg authored Feb 17, 2022
2 parents 1712f87 + d1c6caf commit ace0026
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions config/src/storage_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,9 @@ pub struct RocksdbConfig {
}

impl RocksdbConfig {
#[cfg(any(target_os = "macos"))]
#[cfg(unix)]
fn default_max_open_files() -> i32 {
4096
}

#[cfg(any(target_os = "linux"))]
fn default_max_open_files() -> i32 {
4096
40960
}

#[cfg(windows)]
Expand Down

0 comments on commit ace0026

Please sign in to comment.