Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17877: refactor LJ::MemCache: it's not what I w...

Committer: ailyin
refactor LJ::MemCache: it's not what I want, it's not what I need
U   trunk/cgi-bin/LJ/MemCache.pm
Modified: trunk/cgi-bin/LJ/MemCache.pm
===================================================================
--- trunk/cgi-bin/LJ/MemCache.pm	2010-12-08 06:04:58 UTC (rev 17876)
+++ trunk/cgi-bin/LJ/MemCache.pm	2010-12-08 07:43:19 UTC (rev 17877)
@@ -723,7 +723,7 @@
     #
     # this is a hacky way that uses a private method from Cache::Memcached,
     # but oh well
-    foreach my $cmd (qw( append prepend delete )) {
+    foreach my $cmd (qw( append prepend cas )) {
         *$cmd = sub {
             return Cache::Memcached::_set( $cmd, @_ );
         };

Tags: andy, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments