rheia icon indicating copy to clipboard operation
rheia copied to clipboard

Add timeouts to runtime.Context.

Open lithdew opened this issue 4 years ago • 1 comments

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.

lithdew avatar Aug 22 '21 14:08 lithdew

Fixed in staging branch. Will close once the branch is merged.

lithdew avatar Sep 02 '21 02:09 lithdew