mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 21:22:36 +00:00
Allow empty (default) consensus timeout.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2638 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
d891884c27
commit
ec6e57dd42
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user