renamed the flood protection configuration options to be self-explanatory
Costa Tsaousis (ktsaou) committed
Apr 17, 2016 at 21:09 UTC
38ccf14ed33774549602f124fc163f31749e52f9
1 file changed
+4
-4
src/main.c
+4
-4
@@ -348,11 +348,11 @@ int main(int argc, char **argv)
348
}
349
else error_log_syslog = 0;
350
351
- error_log_throttle_period = config_get_number("global", "errors throttle period", error_log_throttle_period);
352
- setenv("NETDATA_ERRORS_THROTTLE_PERIOD", config_get("global", "errors throttle period" , ""), 1);
351
+ error_log_throttle_period = config_get_number("global", "errors flood protection period", error_log_throttle_period);
352
+ setenv("NETDATA_ERRORS_THROTTLE_PERIOD", config_get("global", "errors flood protection period" , ""), 1);
353
354
- error_log_errors_per_period = config_get_number("global", "errors per throttle", error_log_errors_per_period);
355
- setenv("NETDATA_ERRORS_PER_PERIOD" , config_get("global", "errors per throttle", ""), 1);
354
+ error_log_errors_per_period = config_get_number("global", "errors to trigger flood protection", error_log_errors_per_period);
355
+ setenv("NETDATA_ERRORS_PER_PERIOD" , config_get("global", "errors to trigger flood protection", ""), 1);
356
357
// --------------------------------------------------------------------
358