Skip to content

ensure correct grpc max sizes for control API and frontends#4969

Merged
thompson-shaun merged 1 commit intomoby:masterfrom
tonistiigi:grpc-control-api-sizes
May 30, 2024
Merged

ensure correct grpc max sizes for control API and frontends#4969
thompson-shaun merged 1 commit intomoby:masterfrom
tonistiigi:grpc-control-api-sizes

Conversation

@tonistiigi
Copy link
Member

fixes #4948

Correct app default should be 16MB but were control API and frontends used library defaults.

Signed-off-by: Tonis Tiigi [email protected]

grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithUnaryInterceptor(grpcerrors.UnaryClientInterceptor),
grpc.WithStreamInterceptor(grpcerrors.StreamClientInterceptor),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(16 << 20)),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left these to direct values as this code is used in external frontends and better to avoid new dependencies.

@tonistiigi tonistiigi added this to the v0.14.0 milestone May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResourceExhausted: grpc: received message larger than max (_ vs. 4194304)

3 participants