Skip to content

refactor: rpc pool#1734

Closed
sergeytimoshin wants to merge 18 commits into
mainfrom
sergey/rpc-pool-retry
Closed

refactor: rpc pool#1734
sergeytimoshin wants to merge 18 commits into
mainfrom
sergey/rpc-pool-retry

Conversation

@sergeytimoshin
Copy link
Copy Markdown
Contributor

Refactor RPC pool configuration and connection handling:

  • Introduced RpcPoolConfig struct for better organization of RPC pool settings.
  • Updated CLI arguments to include new RPC pool parameters: connection timeout, idle timeout, max retries, and retry delays.
  • Replaced direct usage of SolanaRpcPool with a builder pattern for improved configurability.
  • Enhanced connection retrieval with retry logic and exponential backoff.
  • Removed unused log dependency from sdk-libs/client/Cargo.toml.

sergeytimoshin and others added 18 commits May 12, 2025 18:13
Replaced `rate_limited_request` with `rate_limited_request_with_retry` to include a retry mechanism for handling transient errors.
…t 4000ms to improve responsiveness and mitigate excessive delays.
* fix: forester do not retry failing tx

* cleanup
- Introduced `RpcPoolConfig` struct for better organization of RPC pool settings.
- Updated CLI arguments to include new RPC pool parameters: connection timeout, idle timeout, max retries, and retry delays.
- Replaced direct usage of `SolanaRpcPool` with a builder pattern for improved configurability.
- Enhanced connection retrieval with retry logic and exponential backoff.
- Removed unused `log` dependency from `sdk-libs/client/Cargo.toml`.
@sergeytimoshin sergeytimoshin force-pushed the sergey/rpc-pool-retry branch from b0c88a9 to 7ad0fbf Compare May 12, 2025 17:27
@sergeytimoshin sergeytimoshin deleted the sergey/rpc-pool-retry branch May 12, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants