Skip to content

Commit

Permalink
Merge pull request #50 from libp2p/remove-misleading-comment
Browse files Browse the repository at this point in the history
remove misleading comment about the MaxMessageSize
  • Loading branch information
marten-seemann authored Feb 21, 2021
2 parents 35dde00 + 6d51a9c commit 6cac08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func DefaultConfig() *Config {
MaxStreamWindowSize: initialStreamWindow,
LogOutput: os.Stderr,
ReadBufSize: 4096,
MaxMessageSize: 64 * 1024, // Means 64KiB/10s = 52kbps minimum speed.
MaxMessageSize: 64 * 1024,
WriteCoalesceDelay: 100 * time.Microsecond,
}
}
Expand Down

0 comments on commit 6cac08a

Please sign in to comment.