Code

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 8c5ecdfc9b849c4b9dcb323200b584fd1824de4d..05d41cd34bdc525321bf35e72481d95d660289f7 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 8407318973e49bc11880a7e6103d5cfa5e1a4559..9f3c5d9eff9a64520b896216b116298d37c5c9e4 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;