From 52db03d320ab1747f3dfab4dc37cb7111ec4ebcb Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 27 Oct 2015 10:23:54 +0900 Subject: [PATCH] Add 'primary_response_timeout' as synonym for 'master_response_timeout' We'll switch terminology in a future release and maintain 'master_response_timeout' for backwards compatibility --- config.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.c b/config.c index 1b1f132f..84759469 100644 --- a/config.c +++ b/config.c @@ -237,6 +237,11 @@ parse_config(t_configuration_options *options) strncpy(options->follow_command, value, MAXLEN); else if (strcmp(name, "master_response_timeout") == 0) options->master_response_timeout = atoi(value); + /* 'primary_response_timeout' as synonym for 'master_response_timeout' - + * we'll switch terminology in a future release + */ + else if (strcmp(name, "primary_response_timeout") == 0) + options->master_response_timeout = atoi(value); else if (strcmp(name, "reconnect_attempts") == 0) options->reconnect_attempts = atoi(value); else if (strcmp(name, "reconnect_interval") == 0)