Skip to content

Commit

Permalink
Increase response size to 40 MB (#5503)
Browse files Browse the repository at this point in the history
* Increase response size to 40 MB
  • Loading branch information
fasmat authored Jan 26, 2024
1 parent f348c1e commit 9efcc6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

See [RELEASE](./RELEASE.md) for workflow instructions.

## Release v1.3.7

### Improvements

* [#5502](https://github.com/spacemeshos/go-spacemesh/pull/5502)
Increase limits of p2p messages to compensate for the increased number of nodes on the network.

## Release v1.3.6

### Improvements
Expand Down
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 9efcc6a

Please sign in to comment.