Skip to content

Commit

Permalink
Use default value instead of hard-coding 0
Browse files Browse the repository at this point in the history
  • Loading branch information
hx235 committed Sep 13, 2023
1 parent 1e63fc9 commit 47a9e1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,9 @@ DEFINE_int32(file_opening_threads,
"If open_files is set to -1, this option set the number of "
"threads that will be used to open files during DB::Open()");

DEFINE_int32(compaction_readahead_size, 0, "Compaction readahead size");
DEFINE_int32(compaction_readahead_size,
ROCKSDB_NAMESPACE::Options().compaction_readahead_size,
"Compaction readahead size");

DEFINE_int32(log_readahead_size, 0, "WAL and manifest readahead size");

Expand Down

0 comments on commit 47a9e1d

Please sign in to comment.