MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / apiMaxRecvMsgSize

Function apiMaxRecvMsgSize

app/cli/cmd/root.go:515–517  ·  view source on GitHub ↗

apiMaxRecvMsgSize returns the configured gRPC max receive message size for the CLI's outbound connections, in bytes. 0 means "use grpcconn's default".

()

Source from the content-addressed store, hash-verified

513// apiMaxRecvMsgSize returns the configured gRPC max receive message size for
514// the CLI's outbound connections, in bytes. 0 means "use grpcconn's default".
515func apiMaxRecvMsgSize() int {
516 return viper.GetInt(confOptions.maxRecvMsgSize.viperKey)
517}
518
519// setLocalOrganization updates the local organization configuration
520func setLocalOrganization(orgName string) error {

Callers 2

wrappedArtifactConnFunction · 0.85
NewRootCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected