Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/deep-coins-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink-deployments-framework": patch
---

fix: increase buffers used in Catalog's gRPC connection to 16MB

7 changes: 6 additions & 1 deletion datastore/catalog/remote/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,14 @@ func NewCatalogClient(ctx context.Context, cfg CatalogConfig) (*CatalogClient, e
return &client, nil
}

const maxCallRecvBytes = 16 * 1024 * 1024 // 16 MB
const maxCallSendBytes = 16 * 1024 * 1024 // 16 MB

// newCatalogConnection creates a new gRPC connection to the Catalog service.
func newCatalogConnection(cfg CatalogConfig) (*grpc.ClientConn, error) {
var opts []grpc.DialOption
var opts = []grpc.DialOption{
grpc.WithDefaultCallOptions(grpc.MaxCallSendMsgSize(maxCallSendBytes), grpc.MaxCallRecvMsgSize(maxCallRecvBytes)),
Comment thread
gustavogama-cll marked this conversation as resolved.
Resolved
}

if cfg.Creds != nil {
opts = append(opts, grpc.WithTransportCredentials(cfg.Creds))
Expand Down
Loading