Skip to content

Commit

Permalink
fix: adjusts max message size to 4mb
Browse files Browse the repository at this point in the history
  • Loading branch information
sudorandom committed Nov 6, 2024
1 parent 5be745e commit ded4206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
contents: write

jobs:
docker:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion private/server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
stubsv1 "github.com/sudorandom/fauxrpc/proto/gen/stubs/v1"
)

const maxMessageSize = 2 * 1024 * 1024 * 1024
const maxMessageSize = 4 * 1024 * 1024

func NewHandler(service protoreflect.ServiceDescriptor, db stubs.StubDatabase, validate *protovalidate.Validator) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit ded4206

Please sign in to comment.