librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1677] reduce user-caching time


From: Clint Adams
Subject: [Librefm-commits] [1677] reduce user-caching time
Date: Sat, 16 May 2009 19:49:06 +0000

Revision: 1677
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1677
Author:   clint
Date:     2009-05-16 19:49:06 +0000 (Sat, 16 May 2009)
Log Message:
-----------
reduce user-caching time

Modified Paths:
--------------
    trunk/nixtape/data/User.php

Modified: trunk/nixtape/data/User.php
===================================================================
--- trunk/nixtape/data/User.php 2009-05-16 19:41:35 UTC (rev 1676)
+++ trunk/nixtape/data/User.php 2009-05-16 19:49:06 UTC (rev 1677)
@@ -53,7 +53,7 @@
                        global $adodb;
                        $query = 'SELECT * FROM Users WHERE lower(username) = ' 
. $adodb->qstr(strtolower($name));
                        $adodb->SetFetchMode(ADODB_FETCH_ASSOC);
-                       $row = $adodb->CacheGetRow(7200,$query);
+                       $row = $adodb->CacheGetRow(60,$query);
                        if (!$row) {
                                throw new Exception('ERROR ' . $query);
                        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]