-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(indexer): reuse validator RPC sessions (#1057)
Description --- caches and reuses validator RPC sessions Motivation and Context --- When submitting many transactions through the indexer (using tariswap test) new RPC sessions would hit the session limit. This PR keeps hold of RPC sessions and reuses them (requests are queued) instead of creating new sessions. How Has This Been Tested? --- Tariswap test works. What process can a PR reviewer use to test or verify this change? --- Tariswap test (`utilities/tariswap_test_bench`) Breaking Changes --- - [x] None - [ ] Requires data directory to be deleted - [ ] Other - Please specify --------- Co-authored-by: Miguel Naveira <[email protected]>
- Loading branch information
Showing
5 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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