Explorar el 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 hace 9 años
padre
commit
029b8ebad6
Se han modificado 1 ficheros con 1 adiciones y 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