Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update `MaxCallRecvMsgSize`
Steven69ad5178b368
diff --git a/server/router/api/v1/v1.go b/server/router/api/v1/v1.goindex 3170438a4..a8ba11fd0 100644--- a/server/router/api/v1/v1.go+++ b/server/router/api/v1/v1.go@@ -3,6 +3,7 @@ package v1import ("context""fmt"+ "math""github.com/grpc-ecosystem/grpc-gateway/v2/runtime""github.com/improbable-eng/grpc-web/go/grpcweb"@@ -65,7 +66,7 @@ func (s *APIV1Service) RegisterGateway(ctx context.Context, echoServer *echo.Echconn, err := grpc.NewClient(fmt.Sprintf("%s:%d", s.Profile.Addr, s.Profile.Port),grpc.WithTransportCredentials(insecure.NewCredentials()),- grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(100*1024*1024)),+ grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(math.MaxInt32)),)if err != nil {return err