Skip to content

Commit

Permalink
updated max received message size
Browse files Browse the repository at this point in the history
  • Loading branch information
Debashis9012 committed Feb 13, 2020
1 parent 99fa846 commit 11cb2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func startAPI(e chan event.Event) {
if err != nil {
panic("failed to start server.")
}
server := grpc.NewServer(grpc.MaxRecvMsgSize(1024 * 1024 * 1024 * 10))
server := grpc.NewServer(grpc.MaxRecvMsgSize(1024 * 1024 * 1024))
h := listener.NewHandler(server, e)
gm.RegisterReporterServer(server, h)
fmt.Printf("Listening on port:%d\n", l.Addr().(*net.TCPAddr).Port)
Expand Down

0 comments on commit 11cb2fd

Please sign in to comment.