Skip to content

Commit

Permalink
Increase response size to 40 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Jan 26, 2024
1 parent 6ebcdf4 commit 23860b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fetch/wire_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type RequestMessage struct {
// ResponseMessage is sent to the node as a response.
type ResponseMessage struct {
Hash types.Hash32
Data []byte `scale:"max=20971520"` // limit to 20 MiB
Data []byte `scale:"max=41943040"` // limit to 40 MiB
}

// RequestBatch is a batch of requests and a hash of all requests as ID.
Expand Down
4 changes: 2 additions & 2 deletions fetch/wire_types_scale.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23860b2

Please sign in to comment.