Skip to content

Commit

Permalink
Merge pull request #7923 from eest/sysctls-comment
Browse files Browse the repository at this point in the history
sysctls.go: Fix some comments
  • Loading branch information
k8s-ci-robot authored Nov 22, 2019
2 parents a878ad6 + ad9448a commit 1e26735
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nodeup/pkg/model/sysctls.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
"net.core.rmem_max = 16777216",
"",

"# Default Socket Send Buffer",
"# Maximum Socket Send Buffer",
"net.core.wmem_max = 16777216",
"",

Expand All @@ -87,7 +87,8 @@ func (b *SysctlBuilder) Build(c *fi.ModelBuilderContext) error {
"net.ipv4.tcp_slow_start_after_idle = 0",
"",

"# Increase the tcp-time-wait buckets pool size to prevent simple DOS attacks",
"# Allow to reuse TIME_WAIT sockets for new connections",
"# when it is safe from protocol viewpoint",
"net.ipv4.tcp_tw_reuse = 1",
"",

Expand Down

0 comments on commit 1e26735

Please sign in to comment.