fix: cache L2 capacity

This commit is contained in:
Ludo Galabru
2023-08-15 16:45:37 +02:00
parent dbc794a0d4
commit e2fbc73eaf

View File

@@ -56,7 +56,7 @@ pub fn start_inscription_indexing_processor(
let ctx = ctx.clone();
let handle: JoinHandle<()> = hiro_system_kit::thread_named("Inscription indexing runloop")
.spawn(move || {
let cache_l2 = Arc::new(new_traversals_lazy_cache(100_000));
let cache_l2 = Arc::new(new_traversals_lazy_cache(10_000));
let garbage_collect_every_n_blocks = 256;
let mut garbage_collect_nth_block = 0;