merge longer cache statistic
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 12 Apr 2010 13:14:39 +0000 (13:14 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 12 Apr 2010 13:14:39 +0000 (13:14 +0000)
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);
 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>
 }
 </%perl>
      <h2>Statistics for <% xml_encode($stats->{host}) %></h2>