Skip to content

Update GRPC client calls and service handlers to support cancellations and deadlines #466

@tegefaulkes

Description

@tegefaulkes

Specification

GRPC calls need to support cancellation and deadlines. This means that the GRPC client call needs to respond to a abortion and stop the current call. The GRPC service handler will also need to respond to an abortion, either triggered by a deadline connection failure or the client abortion, and finish processing the request early.

Additional context

Tasks

  1. Determine how to interface with the GRPC API to implement timeouts and cancellablility.
  2. Convert the Client side methods to use timedCancellable.
  3. Covert the service handlers to use timeouts and cancellability
  4. Update and use the test client/ handlers to do the same and make tests to check the behaviour.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions