From 35bb3fb992f8f70c4613364583e4d84864e98565 Mon Sep 17 00:00:00 2001 From: Amin Cheloh Date: Mon, 2 Sep 2024 22:06:38 +0700 Subject: [PATCH] docs(agent_config.go): update KeepaliveInterval default value to 2 sec Update documentation for KeepaliveInterval to match defaultKeepaliveInterval constant --- agent_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent_config.go b/agent_config.go index 8d3f281..7c7ecf6 100644 --- a/agent_config.go +++ b/agent_config.go @@ -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