]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Reduce the default connect retry timer to 30 seconds
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 5 Dec 2024 08:18:02 +0000 (10:18 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 11 Dec 2024 13:56:12 +0000 (15:56 +0200)
RFC 4271 recommends this 120 seconds, but most of the implementations use 60.

For a datacenter profile we set it to 10 seconds.

Let's roll with 30 and increase up to the maximum 120.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgpd.h

index bb56fd355a051ae8b8c308048d864b5f99eea2c2..fafd207110428ab541d6f5450db6c11b9b6a35d0 100644 (file)
@@ -2105,7 +2105,7 @@ struct bgp_nlri {
  */
 #define BGP_DEFAULT_HOLDTIME                   180
 #define BGP_DEFAULT_KEEPALIVE                   60
-#define BGP_DEFAULT_CONNECT_RETRY              120
+#define BGP_DEFAULT_CONNECT_RETRY               30
 
 #define BGP_DEFAULT_EBGP_ROUTEADV                0
 #define BGP_DEFAULT_IBGP_ROUTEADV                0