Skip to content

Commit

Permalink
enlarge max_open_files
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Feb 17, 2022
1 parent 1712f87 commit b6f456e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/storage_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ pub struct RocksdbConfig {
impl RocksdbConfig {
#[cfg(any(target_os = "macos"))]
fn default_max_open_files() -> i32 {
4096
40960
}

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

#[cfg(windows)]
Expand Down

0 comments on commit b6f456e

Please sign in to comment.