summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29d4188)
raw | patch | inline | side by side (parent: 29d4188)
author | Alexey Remizov <alexey@remizov.org> | |
Mon, 25 Aug 2014 07:58:24 +0000 (11:58 +0400) | ||
committer | Alexey Remizov <alexey@remizov.org> | |
Mon, 25 Aug 2014 07:58:24 +0000 (11:58 +0400) |
src/configfile.c | patch | blob | history | |
src/plugin.c | patch | blob | history |
diff --git a/src/configfile.c b/src/configfile.c
index 8c5ecdfc9b849c4b9dcb323200b584fd1824de4d..05d41cd34bdc525321bf35e72481d95d660289f7 100644 (file)
--- a/src/configfile.c
+++ b/src/configfile.c
{"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 8407318973e49bc11880a7e6103d5cfa5e1a4559..9f3c5d9eff9a64520b896216b116298d37c5c9e4 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
* 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;