mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
enable bloom filters for celldb
This commit is contained in:
parent
3c245c6146
commit
34f80e8f1b
7 changed files with 26 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ void CellDbIn::start_up() {
|
|||
LOG(WARNING) << "Set CellDb block cache size to " << td::format::as_size(opts_->get_celldb_cache_size().value());
|
||||
}
|
||||
db_options.use_direct_reads = opts_->get_celldb_direct_io();
|
||||
db_options.enable_bloom_filter = !opts_->get_celldb_disable_bloom_filter();
|
||||
|
||||
if (opts_->get_celldb_in_memory()) {
|
||||
td::RocksDbOptions read_db_options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue