Skip to content

Commit

Permalink
Merge pull request #402 from spacemeshos/set-default-max-grpc-size
Browse files Browse the repository at this point in the history
Set the default value for max GRPC msg size
  • Loading branch information
poszu authored Sep 20, 2023
2 parents 6392954 + f4a10cc commit 38d99cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func DefaultConfig() *Config {
LogDir: filepath.Join(poetDir, defaultLogDirname),
MaxLogFiles: defaultMaxLogFiles,
MaxLogFileSize: defaultMaxLogFileSize,
MaxGrpcRespSize: defaultMaxGrpcMsgSize,
RawRPCListener: fmt.Sprintf("localhost:%d", defaultRPCPort),
RawRESTListener: fmt.Sprintf("localhost:%d", defaultRESTPort),
Round: DefaultRoundConfig(),
Expand Down

0 comments on commit 38d99cd

Please sign in to comment.