[Bps-public-commit] r15253 - in Pushmi/trunk: .

alexmv at bestpractical.com alexmv at bestpractical.com
Tue Aug 19 19:52:20 EDT 2008


Author: alexmv
Date: Tue Aug 19 19:52:20 2008
New Revision: 15253

Modified:
   Pushmi/trunk/   (props changed)
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin.pm

Log:
 r36202 at kohr-ah:  chmrr | 2008-08-19 19:51:02 -0400
  * Cache on-disk files for a bit longer


Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin.pm	(original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin.pm	Tue Aug 19 19:52:20 2008
@@ -44,7 +44,7 @@
         $props = '';
         $for = 3;
     }
-    $for *= 60 unless $url =~ /^file:/;
+    $for *= ($url =~ /^file:/) ? 5 : 60;
     $memcached->set( $url => $props, $for );
     
     return $props;



More information about the Bps-public-commit mailing list