Unverified Commit 6cac08a8 authored by Marten Seemann's avatar Marten Seemann Committed by GitHub

Merge pull request #50 from libp2p/remove-misleading-comment

remove misleading comment about the MaxMessageSize
parents 35dde006 6d51a9cb
...@@ -63,7 +63,7 @@ func DefaultConfig() *Config { ...@@ -63,7 +63,7 @@ func DefaultConfig() *Config {
MaxStreamWindowSize: initialStreamWindow, MaxStreamWindowSize: initialStreamWindow,
LogOutput: os.Stderr, LogOutput: os.Stderr,
ReadBufSize: 4096, ReadBufSize: 4096,
MaxMessageSize: 64 * 1024, // Means 64KiB/10s = 52kbps minimum speed. MaxMessageSize: 64 * 1024,
WriteCoalesceDelay: 100 * time.Microsecond, WriteCoalesceDelay: 100 * time.Microsecond,
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment