Skip to content

Commit

Permalink
docs(agent_config.go): update KeepaliveInterval default value to 2 sec
Browse files Browse the repository at this point in the history
Update documentation for KeepaliveInterval to match defaultKeepaliveInterval constant
  • Loading branch information
amincheloh authored and Sean-Der committed Nov 26, 2024
1 parent 8b8fffd commit 35bb3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type AgentConfig struct {

// KeepaliveInterval determines how often should we send ICE
// keepalives (should be less then connectiontimeout above)
// when this is nil, it defaults to 10 seconds.
// when this is nil, it defaults to 2 seconds.
// A keepalive interval of 0 means we never send keepalive packets
KeepaliveInterval *time.Duration

Expand Down

0 comments on commit 35bb3fb

Please sign in to comment.