From: Florian Forster Date: Mon, 5 Jul 2010 18:09:04 +0000 (+0200) Subject: network plugin: Remove the "CacheFlush" config option. X-Git-Tag: collectd-5.0.0-beta0~83 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3404eff3166291e2e7632cc61ef326a802e81e60;p=collectd.git network plugin: Remove the "CacheFlush" config option. --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index d7cad071..01f0f824 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -2592,16 +2592,6 @@ the same multicast group. While this results in more network traffic than necessary it's not a huge problem since the plugin has a duplicate detection, so the values will not loop. -=item B I - -For each host/plugin/type combination the C caches the time of -the last value being sent or received. Every I seconds the plugin -searches and removes all entries that are older than I seconds, thus -freeing the unused memory again. Since this process is somewhat expensive and -normally doesn't do much, this value should not be too small. The default is -1800 seconds, but setting this to 86400 seconds (one day) will not do much harm -either. - =item B B|B The network plugin cannot only receive and send statistics, it can also create diff --git a/src/network.c b/src/network.c index 457637be..73e6d92d 100644 --- a/src/network.c +++ b/src/network.c @@ -3053,8 +3053,6 @@ static int network_config (oconfig_item_t *ci) /* {{{ */ network_config_set_boolean (child, &network_config_forward); else if (strcasecmp ("ReportStats", child->key) == 0) network_config_set_boolean (child, &network_config_stats); - else if (strcasecmp ("CacheFlush", child->key) == 0) - /* no op for backwards compatibility only */; else { WARNING ("network plugin: Option `%s' is not allowed here.",