Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cometindex: speedup by committing event changes in batches of 1000 (#…
…4854) Instead of creating one transaction for each event we need to index, we instead only close this transaction every 1000 events (or when when we've caught up to the database). This gives about a 5x performance in catch up speed. ## Checklist before requesting a review - [x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason: > indexing only
- Loading branch information