From: Elan Ruusamäe Date: Thu, 21 Oct 2010 15:49:29 +0000 (+0000) Subject: - increase cache time (but be lower than 5m cacti poll interval) X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcacti-template-mail_statistics.git;a=commitdiff_plain;h=7f32ce1ed7caa8d32c1e7221b4b4534f22e256c9 - increase cache time (but be lower than 5m cacti poll interval) Changed files: cachetime.patch -> 1.1 --- diff --git a/cachetime.patch b/cachetime.patch new file mode 100644 index 0000000..1b3a73e --- /dev/null +++ b/cachetime.patch @@ -0,0 +1,11 @@ +--- cacti-template-postfix-0.1/fetch_mail_statistics.pl 2005-12-19 15:52:35.000000000 +0200 ++++ cacti-template-postfix-0.1/fetch_mail_statistics.pl 2010-10-21 17:22:21.000000000 +0300 +@@ -14,7 +14,7 @@ + # + # This defines how many seconds we will cache calculated values. + # +-$MINRESET = 50; ++$MINRESET = 280; + + + if ( @ARGV < 5 ) {