Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
xuguruogu committed Aug 4, 2020
1 parent 1851f40 commit d2fafbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvstore/RocksEngineConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ rocksdb::Status initRocksdbOptions(rocksdb::Options &baseOpts) {
bbtOpts.no_block_cache = true;
} else {
static std::shared_ptr<rocksdb::Cache> blockCache
= rocksdb::NewLRUCache(FLAGS_rocksdb_block_cache * 1024 * 1024, 12/*shard bits*/);
= rocksdb::NewLRUCache(FLAGS_rocksdb_block_cache * 1024 * 1024, 8/*shard bits*/);
bbtOpts.block_cache = blockCache;
}
if (FLAGS_num_compaction_threads > 0) {
Expand Down

0 comments on commit d2fafbc

Please sign in to comment.