Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(plainstate): add close func to close cursors (#10368)
If repeatedly using the plainstate in an iteration you can end up with so many cursors that tx.Rollback/Commit takes a very long time. The fix is to clean up the cursors as you go with Close() on the plainstate.
- Loading branch information