mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 16:52:57 +08:00
fix: cache L2 capacity
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user