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?
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