Skip to content

Commit

Permalink
chore: diable mmap
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Jan 18, 2024
1 parent 7d048a3 commit 358142b
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 @@ -264,7 +264,7 @@ fn rocks_db_default_options(ulimit: usize, memory_available: usize) -> rocksdb::
// opts.set_target_file_size_base(64 * 1024 * 1024);
opts.set_max_open_files(ulimit as i32);
opts.create_if_missing(true);
opts.set_allow_mmap_reads(true);
// opts.set_allow_mmap_reads(true);

// set_arena_block_size

Expand Down

0 comments on commit 358142b

Please sign in to comment.