Skip to content

Add timeouts to runtime.Context. #2

Description

@lithdew

A fairly common operation in code that takes in a runtime.Context is to have the runtime.Context be canceled when a timeout is exceeded. Once this is implemented, all code in Rheia which takes in a runtime.Context will be updated to cancel their passed-in Context's when a timeout is exceeded wherever necessary.

An example of some code in Rheia where timeouts are necessary and have yet to be implemented is the transaction pulling and block proposal sampling code.

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