Skip to content

Commit 2a42233

Browse files
committed
Fix num_lookahead_threads
1 parent eebc9ab commit 2a42233

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/indexer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ impl Indexer {
7878

7979
let fetcher_config = fetcher::FetcherConfig {
8080
num_threads: self.settings.num_threads,
81+
num_lookahead_threads: self.settings.num_threads,
8182
start_block_height: Some(BlockHeight::try_from(start_block_height).unwrap()),
8283
end_block_height: None,
8384
chain_id,
@@ -89,6 +90,7 @@ impl Indexer {
8990
user_agent: None,
9091
};
9192

93+
9294
// Create channel for receiving blocks
9395
let (sender, receiver) = mpsc::channel(1000);
9496

0 commit comments

Comments
 (0)