From: Mike Taylor Date: Thu, 8 Apr 2010 12:27:25 +0000 (+0100) Subject: Cache timeout upped to one day. X-Git-Tag: CPAN-v1.02~54^2~119 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e76987b5cd1a49c71ded5d7169b52162a5e2c371;p=irspy-moved-to-github.git Cache timeout upped to one day. --- diff --git a/web/htdocs/details/stats.mc b/web/htdocs/details/stats.mc index 31a4fe5..c01c302 100644 --- a/web/htdocs/details/stats.mc +++ b/web/htdocs/details/stats.mc @@ -28,7 +28,7 @@ my $stats = $m->cache->get($key); if (!defined $stats || $reload) { $from_cache = 0; $stats = new ZOOM::IRSpy::Stats("localhost:8018/IR-Explain---1", $query); - $m->cache->set($key, $stats, "10 minutes"); + $m->cache->set($key, $stats, "1 day"); }

Statistics for <% xml_encode($stats->{host}) %>