Skip to content

Commit

Permalink
Merge pull request #2847 from informalsystems/gabriela/increase-grpc-…
Browse files Browse the repository at this point in the history
…size-limit
  • Loading branch information
Shon Feder authored Mar 4, 2024
2 parents c3df3a9 + d1a322e commit ff65943
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ class RpcServer(override val port: Int) extends ServerMain with LazyLogging {
// This is needed even if the type below is omitted / inferred.
import scala.language.existentials

// Double max inbound message size to 8MB
// Set max inbound message size to 64MB
// Fixes `io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size`:
// https://github.com/informalsystems/apalache/issues/2622
override def builder: (x0) forSome { type x0 <: ServerBuilder[x0] } =
super.builder.maxInboundMessageSize(8 * 1024 * 1024)
super.builder.maxInboundMessageSize(64 * 1024 * 1024)

override def run(args: List[String]) = {
myAppLogic.catchAll { t =>
Expand Down

0 comments on commit ff65943

Please sign in to comment.