git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e721f4
)
use zlib compression to store huge list (like site or account list)
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 9 Nov 2010 03:59:17 +0000
(22:59 -0500)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Tue, 9 Nov 2010 03:59:17 +0000
(22:59 -0500)
php/plc_api.php
patch
|
blob
|
history
diff --git
a/php/plc_api.php
b/php/plc_api.php
index
fed4759
..
886825c
100644
(file)
--- a/
php/plc_api.php
+++ b/
php/plc_api.php
@@
-132,7
+132,7
@@
class PLCAPI
$key = $this->generateKey($method, $args);
if ($key != NULL)
{
- $memcache->set($key, $result == NULL ? "NULL" : $result,
false, 60
00);
+ $memcache->set($key, $result == NULL ? "NULL" : $result,
MEMCACHE_COMPRESSED, 6
00);
}
}
return $result;