Skip to content

Commit

Permalink
Merge pull request AleoNet#2557 from ProvableHQ/fix_file_descriptors
Browse files Browse the repository at this point in the history
Set max open rocksdb files to 8192
  • Loading branch information
zosorock authored Oct 22, 2024
2 parents b118ea2 + f242209 commit dea322b
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 dea322b

Please sign in to comment.