Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv12531

Modified Files:
        memcache.inc 
Log Message:
extend the timeout, we only reindex every 4 hours anyways

Index: memcache.inc
===================================================================
RCS file: /cvsroot/fink/web/pdb/memcache.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- memcache.inc        28 Sep 2007 00:41:48 -0000      1.3
+++ memcache.inc        28 Sep 2007 18:56:11 -0000      1.4
@@ -25,8 +25,8 @@
                        array_push($returnVals, $row);
                }
 
-               // 15 minute cache
-               if ($memcache->set($key, $returnVals, $compress, 900)) {
+               // 60 minute cache
+               if ($memcache->set($key, $returnVals, $compress, 3600)) {
                        return $returnVals;
                } else {
                        if ($memcache_debug) echo " <!-- unable to set 
$key($compress) --> ";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to