Skip to content

Commit a976283

Browse files
authored
fix: increase send and receive size limit (#427)
1 parent de15c74 commit a976283

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/connectivity.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
)
2121

2222
const (
23-
GRPCMaxClientSendSize = 64 << 20 // 64MB
24-
GRPCMaxClientRecvSize = 64 << 20 // 64MB
23+
GRPCMaxClientSendSize = 128 << 20 // 128MB
24+
GRPCMaxClientRecvSize = 128 << 20 // 128MB
2525
GRPCMaxRetry uint = 3
2626

2727
OptimusDialTimeout = time.Second * 2

cmd/server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import (
3131

3232
const (
3333
shutdownWait = 30 * time.Second
34-
GRPCMaxRecvMsgSize = 64 << 20 // 64MB
35-
GRPCMaxSendMsgSize = 64 << 20 // 64MB
34+
GRPCMaxRecvMsgSize = 128 << 20 // 128MB
35+
GRPCMaxSendMsgSize = 128 << 20 // 128MB
3636

3737
DialTimeout = time.Second * 5
3838
BootstrapTimeout = time.Second * 10

0 commit comments

Comments
 (0)