mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-07 16:16:54 +00:00
ipn: jack up the MaxMessageSize from 1MB to 10MB
hello.ipn.dev has a 2.5MB network map
This commit is contained in:
parent
cb01058a53
commit
b62b07bc2d
@ -255,7 +255,7 @@ func (bc *BackendClient) FakeExpireAfter(x time.Duration) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MaxMessageSize is the maximum message size, in bytes.
|
// MaxMessageSize is the maximum message size, in bytes.
|
||||||
const MaxMessageSize = 1 << 20
|
const MaxMessageSize = 10 << 20
|
||||||
|
|
||||||
// TODO(apenwarr): incremental json decode?
|
// TODO(apenwarr): incremental json decode?
|
||||||
// That would let us avoid storing the whole byte array uselessly in RAM.
|
// That would let us avoid storing the whole byte array uselessly in RAM.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user