-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(prover): Reduce database connection overhead for BWG (#2543)
BWG uses connection as part of it's save/update_database cycle. This means that every execute call is sent to the database. Transaction can be used to "batch" those and be sent only during commit. This will get rid of 10 minutes on mainnet (on worst batches).
- Loading branch information
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters