summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-20 12:58:50 +0300
committerAndrew Dolgov <[email protected]>2010-01-20 12:58:50 +0300
commit2bef21a79ff255b2c4bb01f7d41ab4546cf1402a (patch)
tree0700292061c865055837fadc629eabb3c94bd754 /functions.php
parent602690e57700004449fe213262a73197ef39bd1f (diff)
update_rss_feed: compress memcache data
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 04cda3d1d..9d51df53e 100644
--- a/functions.php
+++ b/functions.php
@@ -645,7 +645,7 @@
$rss->init();
}
- if ($rss && $memcache) $memcache->add($obj_id, $rss, 0, 300);
+ if ($rss && $memcache) $memcache->add($obj_id, $rss, MEMCACHE_COMPRESSED, 300);
}
// print_r($rss);