1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Add --archive-preload-period (#904)

Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
EmelyanenkoK 2024-02-15 12:03:57 +03:00 committed by GitHub
parent 4d39772e40
commit eb4831d7d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 47 additions and 0 deletions

View file

@ -205,6 +205,7 @@ class ValidatorEngine : public td::actor::Actor {
double key_proof_ttl_ = 0;
td::uint32 celldb_compress_depth_ = 0;
size_t max_open_archive_files_ = 0;
double archive_preload_period_ = 0.0;
bool read_config_ = false;
bool started_keyring_ = false;
bool started_ = false;
@ -268,6 +269,9 @@ class ValidatorEngine : public td::actor::Actor {
void set_max_open_archive_files(size_t value) {
max_open_archive_files_ = value;
}
void set_archive_preload_period(double value) {
archive_preload_period_ = value;
}
void start_up() override;
ValidatorEngine() {
}