Skip to content

[Wave 9] Add request timeouts to Horizon and Soroban RPC clients #202

Description

@truthixify

Problem

The Horizon and RPC clients retry failed requests, but a request that never resolves can hold a scan indefinitely.

Done when

  • Add configurable connect and request timeouts.
  • Abort timed-out fetches before retrying or failing over.
  • Preserve the original endpoint and attempt in the typed error.
  • Add fake-fetch tests for timeout and retry behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions