You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an application developer I want to specify timeouts for service invocations such as endorse and submit So that my application will not wait indefinitely or timeout too quickly for my particular usage scenario
Currently some language implements have an arbitrary timeout hard-coded, which cannot be modified, while some have no timeout set so wait indefinitely in cases such as packets being black-holed.
It should be possible to specify:
timeouts on a per-invocation basis
timeout defaults when connecting the Gateway
Suggest exposing elements of the gRPC API as invocation options rather than providing an abstraction that duplicates the capabilities provided by gRPC and then needs to be maintained and supported. For example, in the Node client we could accept a gRPC CallOption as an option to service invocation, which allows a deadline for a particular call to be specified. Go accepts a Context that can include a deadline or timeout, or can be used to explicitly cancel the call (in addition to CallOption to configure other call behaviour).
As an application developer
I want to specify timeouts for service invocations such as endorse and submit
So that my application will not wait indefinitely or timeout too quickly for my particular usage scenario
Currently some language implements have an arbitrary timeout hard-coded, which cannot be modified, while some have no timeout set so wait indefinitely in cases such as packets being black-holed.
It should be possible to specify:
Suggest exposing elements of the gRPC API as invocation options rather than providing an abstraction that duplicates the capabilities provided by gRPC and then needs to be maintained and supported. For example, in the Node client we could accept a gRPC CallOption as an option to service invocation, which allows a deadline for a particular call to be specified. Go accepts a Context that can include a deadline or timeout, or can be used to explicitly cancel the call (in addition to CallOption to configure other call behaviour).
See gRPC blog post on deadlines.
Tasks:
The text was updated successfully, but these errors were encountered: