File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1190,10 +1190,12 @@ pub fn retrieve_inscribed_satoshi_points_from_block_v3(
1190
1190
let expected_traversals = transactions_ids. len ( ) + l1_cache_hits. len ( ) ;
1191
1191
let ( traversal_tx, traversal_rx) = channel ( ) ;
1192
1192
1193
- let traversal_data_pool = ThreadPool :: new ( hord_config. ingestion_thread_max ) ;
1193
+ let thread_max = hord_config. ingestion_thread_max * 3 ;
1194
+
1195
+ let traversal_data_pool = ThreadPool :: new ( thread_max) ;
1194
1196
let mut tx_thread_pool = vec ! [ ] ;
1195
1197
1196
- for thread_index in 0 ..hord_config . ingestion_thread_max {
1198
+ for thread_index in 0 ..thread_max {
1197
1199
let ( tx, rx) = channel ( ) ;
1198
1200
tx_thread_pool. push ( tx) ;
1199
1201
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ impl Service {
126
126
127
127
while let Some ( ( start_block, end_block) ) = should_sync_hord_db ( & self . config , & self . ctx ) ?
128
128
{
129
- let end_block = end_block. min ( start_block + 512 ) ;
129
+ let end_block = end_block. min ( start_block + 256 ) ;
130
130
info ! (
131
131
self . ctx. expect_logger( ) ,
132
132
"Indexing inscriptions from block #{start_block} to block #{end_block}"
You can’t perform that action at this time.
0 commit comments