comment typo: MaxConnectionAgeGrace(#2515)

This commit is contained in:
shaun 2018-12-10 15:18:17 +08:00 committed by lyuxuan
parent 4be7750b61
commit e242249c0e
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ type ServerParameters struct {
// random jitter of +/-10% will be added to MaxConnectionAge to spread out
// connection storms.
MaxConnectionAge time.Duration // The current default value is infinity.
// MaxConnectinoAgeGrace is an additive period after MaxConnectionAge after
// MaxConnectionAgeGrace is an additive period after MaxConnectionAge after
// which the connection will be forcibly closed.
MaxConnectionAgeGrace time.Duration // The current default value is infinity.
// After a duration of this time if the server doesn't see any activity it