Skip to content

Commit

Permalink
Set rocksdb options max_open_files to 256
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Oct 25, 2024
1 parent 5621686 commit 512ab3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ain-db/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn get_db_default_options() -> Options {

let mut opts = Options::default();

opts.set_max_open_files(128);
opts.set_max_open_files(256);

opts.create_if_missing(true);
opts.create_missing_column_families(true);
Expand Down

0 comments on commit 512ab3e

Please sign in to comment.