Skip to content

Commit

Permalink
change default socket buffer to 4MB(macOS default limit)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Aug 8, 2016
1 parent 2df3e6c commit bf2abf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func main() {
},
cli.IntFlag{
Name: "sockbuf",
Value: 16777216, // socket buffer size in bytes
Value: 4194304, // socket buffer size in bytes
Hidden: true,
},
cli.IntFlag{
Expand Down
2 changes: 1 addition & 1 deletion server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func main() {
},
cli.IntFlag{
Name: "sockbuf",
Value: 16777216, // socket buffer size in bytes
Value: 4194304, // socket buffer size in bytes
Hidden: true,
},
cli.IntFlag{
Expand Down

0 comments on commit bf2abf1

Please sign in to comment.