Explorar o código

knet: Reduce default pong count to 2 for faster startup

The default PONG_COUNT of 5 made corosync slow to connect to other
nodes.
This helps.
Christine Caulfield %!s(int64=9) %!d(string=hai) anos
pai
achega
029b8ebad6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exec/totemconfig.c

+ 1 - 1
exec/totemconfig.c

@@ -78,7 +78,7 @@
 #define KNET_PING_INTERVAL                      1000
 #define KNET_PING_TIMEOUT                       2000
 #define KNET_PING_PRECISION                     2048
-#define KNET_PONG_COUNT                         5
+#define KNET_PONG_COUNT                         2
 #define KNET_PMTUD_INTERVAL                     30
 
 #define DEFAULT_PORT				5405