summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
authorChristian Schneider2009-03-16 16:49:09 +0000
committerChristian Schneider2009-03-16 16:49:09 +0000
commit8a64a00e6ad829593cba657a50599e54ebbd3036 (patch)
treef2e2d1cdaca0a25cafabcc19380ac074953d3e28 /it_cache.class
parentf26e3204d00988f36d14e4264e637ce85adaf96c (diff)
downloaditools-8a64a00e6ad829593cba657a50599e54ebbd3036.tar.gz
itools-8a64a00e6ad829593cba657a50599e54ebbd3036.tar.bz2
itools-8a64a00e6ad829593cba657a50599e54ebbd3036.zip
Compress data which is stored in memcache
Diffstat (limited to 'it_cache.class')
-rw-r--r--it_cache.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class
index 718ac3b..c3677e3 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -68,7 +68,7 @@ function put($key, $value, $p = array())
if ($p['distributed'] && ($memcache = it_cache::_get_memcache($p)))
{
- @$memcache->set($key, $value, 0, $p['ttl']);
+ @$memcache->set($key, $value, MEMCACHE_COMPRESSED, $p['ttl']);
}
else
{