rename option MaxEffectiveInterval -> MaxReadInterval
authorAlexey Remizov <alexey@remizov.org>
Mon, 25 Aug 2014 07:58:24 +0000 (11:58 +0400)
committerAlexey Remizov <alexey@remizov.org>
Mon, 25 Aug 2014 07:58:24 +0000 (11:58 +0400)
src/configfile.c
src/plugin.c

index 8c5ecdf..05d41cd 100644 (file)
@@ -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);
 
index 8407318..9f3c5d9 100644 (file)
@@ -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;