Skip to content

Commit

Permalink
chore: restore set_max_open_files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Jan 3, 2024
1 parent 3e905c1 commit d98b55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ordhook-core/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ fn rocks_db_default_options() -> rocksdb::Options {
// opts.set_write_buffer_size(64 * 1024 * 1024);
// opts.set_blob_file_size(1 * 1024 * 1024 * 1024);
// opts.set_target_file_size_base(64 * 1024 * 1024);
opts.set_max_open_files(-1);
opts.set_max_open_files(4096);
opts.create_if_missing(true);
// opts.optimize_for_point_lookup(1 * 1024 * 1024 * 1024);
// opts.set_level_zero_stop_writes_trigger(64);
Expand Down

0 comments on commit d98b55d

Please sign in to comment.