From 6a9a4accb61d8b128d79fe0fc231a845b295c8b8 Mon Sep 17 00:00:00 2001 From: Alexey Remizov Date: Mon, 25 Aug 2014 11:58:24 +0400 Subject: [PATCH] rename option MaxEffectiveInterval -> MaxReadInterval --- src/configfile.c | 2 +- src/plugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0