Skip to content

Commit d21da91

Browse files
committed
Reduce states gc interval
1 parent e19b1f1 commit d21da91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ impl NodeConfig {
173173
rocks_db_path: self.db_path.join("rocksdb"),
174174
file_db_path: self.db_path.join("files"),
175175
state_gc_options: self.states_gc_enabled.then(|| ton_indexer::StateGcOptions {
176-
offset_sec: rand::thread_rng().gen_range(0..3600),
177-
interval_sec: 3600,
176+
offset_sec: rand::thread_rng().gen_range(0..60),
177+
interval_sec: 60,
178178
}),
179179
blocks_gc_options: self
180180
.blocks_gc_enabled

0 commit comments

Comments
 (0)