mirror of
https://github.com/romanz/electrs.git
synced 2025-02-24 15:02:21 +01:00
Don't buffer indexed rows between threads
This commit is contained in:
parent
fd16082925
commit
2e81731e8b
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl Parser {
|
|||
"{} blocks are already indexed",
|
||||
self.indexed_blockhashes.len()
|
||||
);
|
||||
let chan = SyncChannel::new(1);
|
||||
let chan = SyncChannel::new(0);
|
||||
let tx = chan.sender();
|
||||
let parser = parse_files(self.files.split_off(0), self.duration.clone(), self.magic);
|
||||
spawn_thread("bulk_indexer", move || {
|
||||
|
|
Loading…
Add table
Reference in a new issue