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~174 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=36a41003a084002e1b5c8b62c80371aa74aeddac 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}) %>