Skip to content

Commit

Permalink
Set max open rocksdb files to 8192
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsn committed Oct 15, 2024
1 parent 3d42aa0 commit f242209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ledger/store/src/helpers/rocksdb/internal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl Database for RocksDB {
options.increase_parallelism(2);
options.set_max_background_jobs(4);
options.create_if_missing(true);
options.set_max_open_files(8192);

Arc::new(rocksdb::DB::open(&options, primary)?)
};
Expand Down

0 comments on commit f242209

Please sign in to comment.