Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rocksdb default options #3104

Merged
merged 7 commits into from
Oct 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set rocksdb options max_open_files to 256
Jouzo committed Oct 25, 2024
commit 512ab3e6d0e9d23c792237b4556dc78e26f4404b
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
@@ -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);