Skip to content

Commit

Permalink
Update MaxRecvMessageSize for bigger deployments.
Browse files Browse the repository at this point in the history
  • Loading branch information
vibe authored Sep 25, 2024
1 parent abca397 commit 58d91f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func (c *CLI) Run() error {
return function.Serve(&Function{log: log},
function.Listen(c.Network, c.Address),
function.MTLSCertificates(c.TLSCertsDir),
function.Insecure(c.Insecure))
function.Insecure(c.Insecure),
function.MaxRecvMessageSize(1024*1024*10))
}

func main() {
Expand Down

0 comments on commit 58d91f9

Please sign in to comment.