Skip to content

Commit

Permalink
use unix replace macos and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Feb 17, 2022
1 parent b6f456e commit d1c6caf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions config/src/storage_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ pub struct RocksdbConfig {
}

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

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

0 comments on commit d1c6caf

Please sign in to comment.