Cache timeout upped to one day.
authorMike Taylor <mike@miketaylor.org.uk>
Thu, 8 Apr 2010 12:27:25 +0000 (13:27 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Thu, 8 Apr 2010 12:27:25 +0000 (13:27 +0100)
web/htdocs/details/stats.mc

index 31a4fe5..c01c302 100644 (file)
@@ -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");
 }
 </%perl>
      <h2>Statistics for <% xml_encode($stats->{host}) %></h2>