MCPcopy
hub / github.com/grpc/grpc-go / MaxRetryRPCBufferSize

Function MaxRetryRPCBufferSize

rpc_util.go:706–708  ·  view source on GitHub ↗

MaxRetryRPCBufferSize returns a CallOption that limits the amount of memory used for buffering this RPC's requests for retry purposes. # Experimental Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

(bytes int)

Source from the content-addressed store, hash-verified

704// Notice: This API is EXPERIMENTAL and may be changed or removed in a
705// later release.
706func MaxRetryRPCBufferSize(bytes int) CallOption {
707 return MaxRetryRPCBufferSizeCallOption{bytes}
708}
709
710// MaxRetryRPCBufferSizeCallOption is a CallOption indicating the amount of
711// memory to be used for caching this RPC for retry purposes.

Callers 1

TestRetryStreamingMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestRetryStreamingMethod · 0.74