Skip to content

Commit

Permalink
increase msg size
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuhaai committed Dec 19, 2024
1 parent 33c5b0c commit dc5954a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnark-server/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"log"
"math"
"net"

"github.com/iotexproject/w3bstream-vm/gnark-server/api"
Expand All @@ -23,7 +24,7 @@ func main() {
log.Fatalf("failed to listen: %v", err)
}

s := grpc.NewServer()
s := grpc.NewServer(grpc.MaxRecvMsgSize(math.MaxInt32))
proto.RegisterVMServer(s, api.NewServer())

log.Printf("server listening at %v\n", lis.Addr())
Expand Down

0 comments on commit dc5954a

Please sign in to comment.