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:
parent
4d39772e40
commit
eb4831d7d6
7 changed files with 47 additions and 0 deletions
|
@ -525,6 +525,10 @@ void ArchiveSlice::before_query() {
|
|||
}
|
||||
}
|
||||
|
||||
void ArchiveSlice::open_files() {
|
||||
before_query();
|
||||
}
|
||||
|
||||
void ArchiveSlice::close_files() {
|
||||
if (status_ == st_open) {
|
||||
if (active_queries_ == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue