From: Alexey Remizov Date: Mon, 25 Aug 2014 07:58:24 +0000 (+0400) Subject: rename option MaxEffectiveInterval -> MaxReadInterval X-Git-Tag: collectd-5.5.0~206^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a9a4accb61d8b128d79fe0fc231a845b295c8b8;p=collectd.git rename option MaxEffectiveInterval -> MaxReadInterval --- diff --git a/src/configfile.c b/src/configfile.c index 8c5ecdfc..05d41cd3 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -119,7 +119,7 @@ static cf_global_option_t cf_global_options[] = {"AutoLoadPlugin", NULL, "false"}, {"PreCacheChain", NULL, "PreCache"}, {"PostCacheChain", NULL, "PostCache"}, - {"MaxEffectiveInterval", NULL, "86400"} + {"MaxReadInterval", NULL, "86400"} }; static int cf_global_options_num = STATIC_ARRAY_SIZE (cf_global_options); diff --git a/src/plugin.c b/src/plugin.c index 84073189..9f3c5d9e 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -482,7 +482,7 @@ static void *plugin_read_thread (void __attribute__((unused)) *args) * intervals in which it will be called. */ if (status != 0) { - const char *mei = global_option_get ("MaxEffectiveInterval"); + const char *mei = global_option_get ("MaxReadInterval"); int max_effective_interval = atoi (mei); if (max_effective_interval <= 0) { max_effective_interval = 86400;