Prechádzať zdrojové kódy

man: Fix corosync.conf knet pong count default

commit 029b8ebad60314d3daa285eb945c55355fade389 changed the default
of the KNET_PONG_COUNT from the kronosnet default of 5 to 2, as
corosync bring up was deemed to slow.

The documentation, and the comment stating that the totem config
default values match the knet ones were not updated, and thus now out
of date.

Fixhis by noting the correct default of 2 for KNET_PONG_COUNT and
note that all but that one are in sync with the korosync defaults in
the comment.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Thomas Lamprecht 6 rokov pred
rodič
commit
721c5d4b5b
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      exec/totemconfig.c
  2. 1 1
      man/corosync.conf.5

+ 1 - 1
exec/totemconfig.c

@@ -81,7 +81,7 @@
 #define MISS_COUNT_CONST			5
 #define MISS_COUNT_CONST			5
 #define BLOCK_UNLISTED_IPS			1
 #define BLOCK_UNLISTED_IPS			1
 
 
-/* These currently match the defaults in libknet.h */
+/* Currently all but PONG_COUNT match the defaults in libknet.h */
 #define KNET_PING_INTERVAL                      1000
 #define KNET_PING_INTERVAL                      1000
 #define KNET_PING_TIMEOUT                       2000
 #define KNET_PING_TIMEOUT                       2000
 #define KNET_PING_PRECISION                     2048
 #define KNET_PING_PRECISION                     2048

+ 1 - 1
man/corosync.conf.5

@@ -112,7 +112,7 @@ the average link latency. (default 2048 samples)
 
 
 .TP
 .TP
 knet_pong_count
 knet_pong_count
-How many valid ping/pongs before a link is marked UP. (default 5)
+How many valid ping/pongs before a link is marked UP. (default 2)
 .TP
 .TP
 
 
 knet_transport
 knet_transport