mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Change default values for celldb flags (#996)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
3a802fa67a
commit
3827409957
2 changed files with 13 additions and 15 deletions
|
@ -209,9 +209,9 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
double archive_preload_period_ = 0.0;
|
||||
bool disable_rocksdb_stats_ = false;
|
||||
bool nonfinal_ls_queries_enabled_ = false;
|
||||
td::optional<td::uint64> celldb_cache_size_;
|
||||
bool celldb_direct_io_ = false;
|
||||
bool celldb_preload_all_ = false;
|
||||
td::optional<td::uint64> celldb_cache_size_ = 50LL << 30;
|
||||
bool celldb_direct_io_ = true;
|
||||
bool celldb_preload_all_ = true;
|
||||
td::optional<double> catchain_max_block_delay_;
|
||||
bool read_config_ = false;
|
||||
bool started_keyring_ = false;
|
||||
|
@ -288,11 +288,11 @@ class ValidatorEngine : public td::actor::Actor {
|
|||
void set_celldb_cache_size(td::uint64 value) {
|
||||
celldb_cache_size_ = value;
|
||||
}
|
||||
void set_celldb_direct_io() {
|
||||
celldb_direct_io_ = true;
|
||||
void set_celldb_direct_io(bool value) {
|
||||
celldb_direct_io_ = value;
|
||||
}
|
||||
void set_celldb_preload_all() {
|
||||
celldb_preload_all_ = true;
|
||||
void set_celldb_preload_all(bool value) {
|
||||
celldb_preload_all_ = value;
|
||||
}
|
||||
void set_catchain_max_block_delay(double value) {
|
||||
catchain_max_block_delay_ = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue