Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbxyyx authored Jul 18, 2023
1 parent eed0557 commit 8d9287e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remoting/config/session_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type SessionConfig struct {

// RegisterFlagsWithPrefix for Config.
func (cfg *SessionConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) {
f.BoolVar(&cfg.CompressEncoding, prefix+".compress-encoding", false, "Enable eompress encoding")
f.BoolVar(&cfg.CompressEncoding, prefix+".compress-encoding", false, "Enable compress encoding")
f.BoolVar(&cfg.TCPNoDelay, prefix+".tcp-no-delay", true, "Disable the nagle algorithm.")
f.BoolVar(&cfg.TCPKeepAlive, prefix+".tcp-keep-alive", true, "Keep connection alive.")
f.DurationVar(&cfg.KeepAlivePeriod, prefix+".keep-alive-period", 3*time.Minute, "Period between keep-alives.")
Expand Down

0 comments on commit 8d9287e

Please sign in to comment.