fix example config (#3701)

This commit is contained in:
fatedier
2023-10-19 17:28:35 +08:00
committed by GitHub
parent 31190c703d
commit 9cb0726ebc
3 changed files with 17 additions and 17 deletions

View File

@@ -150,6 +150,7 @@ type ServerTransportConfig struct {
// TCPMux toggles TCP stream multiplexing. This allows multiple requests
// from a client to share a single TCP connection. By default, this value
// is true.
// $HideFromDoc
TCPMux *bool `json:"tcpMux,omitempty"`
// TCPMuxKeepaliveInterval specifies the keep alive interval for TCP stream multipler.
// If TCPMux is true, heartbeat of application layer is unnecessary because it can only rely on heartbeat in TCPMux.