]> arthur.barton.de Git - netdata.git/commitdiff
renamed the flood protection configuration options to be self-explanatory
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 17 Apr 2016 18:09:19 +0000 (21:09 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 17 Apr 2016 18:09:19 +0000 (21:09 +0300)
src/main.c

index 9bdbe4f2bf31c2ac43eb8784213ec363e29f706a..ad24debfaba419a648130074076f70b5e49771b6 100644 (file)
@@ -348,11 +348,11 @@ int main(int argc, char **argv)
                }
                else error_log_syslog = 0;
 
-               error_log_throttle_period = config_get_number("global", "errors throttle period", error_log_throttle_period);
-               setenv("NETDATA_ERRORS_THROTTLE_PERIOD", config_get("global", "errors throttle period"    , ""), 1);
+               error_log_throttle_period = config_get_number("global", "errors flood protection period", error_log_throttle_period);
+               setenv("NETDATA_ERRORS_THROTTLE_PERIOD", config_get("global", "errors flood protection period"    , ""), 1);
 
-               error_log_errors_per_period = config_get_number("global", "errors per throttle", error_log_errors_per_period);
-               setenv("NETDATA_ERRORS_PER_PERIOD"     , config_get("global", "errors per throttle", ""), 1);
+               error_log_errors_per_period = config_get_number("global", "errors to trigger flood protection", error_log_errors_per_period);
+               setenv("NETDATA_ERRORS_PER_PERIOD"     , config_get("global", "errors to trigger flood protection", ""), 1);
 
                // --------------------------------------------------------------------