* Defines the gRPC options for each call. */
| 129 | * Defines the gRPC options for each call. |
| 130 | */ |
| 131 | struct CallOptions |
| 132 | { |
| 133 | // Enable the gRPC wait-for-ready semantics by default so the call will be |
| 134 | // retried if the connection is not ready. See: |
| 135 | // https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md |
| 136 | bool wait_for_ready = true; |
| 137 | |
| 138 | // The timeout of the call. A `DEADLINE_EXCEEDED` status will be returned if |
| 139 | // there is no response in the specified amount of time. This is required to |
| 140 | // avoid the call from being pending forever. |
| 141 | Duration timeout = Seconds(60); |
| 142 | }; |
| 143 | |
| 144 | |
| 145 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected