MCPcopy Create free account
hub / github.com/3rdparty/libprocess / CallOptions

Class CallOptions

include/process/grpc.hpp:131–142  ·  view source on GitHub ↗

* Defines the gRPC options for each call. */

Source from the content-addressed store, hash-verified

129 * Defines the gRPC options for each call.
130 */
131struct 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/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected