Skip to content

RPC timeouts #15

Description

@CurleySamuel

Offer an optional param for all RPC requests that can specify a timeout.

If the timeout is hit and the RPC still hasn't produced any results, return prematurely (possibly with partial results) and a timeout variable set in the response. Direct analogue of golang's usage of contexts with deadlines and timeouts.

Default timeout should probably be 0 == no timeout.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions