From ec6e57dd420bbd4e9e4fbc64b82bc66f5e7c6420 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Tue, 8 Dec 2009 07:48:53 +0000 Subject: [PATCH] Allow empty (default) consensus timeout. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2638 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/totemconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/totemconfig.c b/exec/totemconfig.c index de02c770..aa54ad3f 100644 --- a/exec/totemconfig.c +++ b/exec/totemconfig.c @@ -559,7 +559,7 @@ int totem_config_validate ( goto parse_error; } - if (totem_config->consensus_timeout <= 1.2 * totem_config->token_timeout) { + if (totem_config->consensus_timeout < 1.2 * totem_config->token_timeout) { snprintf (local_error_reason, sizeof(local_error_reason), "The consensus timeout parameter (%d ms) must be atleast 1.2 * token (%d ms).", totem_config->consensus_timeout, (int) ((float)1.2 * totem_config->token_timeout));