]> git.wh0rd.org Git - tt-rss.git/commitdiff
update_rss_feed: compress memcache data
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 20 Jan 2010 09:58:50 +0000 (12:58 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 20 Jan 2010 09:58:50 +0000 (12:58 +0300)
functions.php

index 04cda3d1d7cd2aa073bb398cbd73923d8e3d8628..9d51df53e06b21dde010bae795b6de21ae6f1794 100644 (file)
                                $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);