Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-yamux
Commits
6cac08a8
Unverified
Commit
6cac08a8
authored
Feb 21, 2021
by
Marten Seemann
Committed by
GitHub
Feb 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #50 from libp2p/remove-misleading-comment
remove misleading comment about the MaxMessageSize
parents
35dde006
6d51a9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mux.go
mux.go
+1
-1
No files found.
mux.go
View file @
6cac08a8
...
@@ -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
,
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment