vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r22040: LJSUP-12075: remove from LJ::MemCache th...

Committer: vad
LJSUP-12075: remove from LJ::MemCache the warning that connection was established from another PID

U   trunk/cgi-bin/LJ/MemCache.pm
Modified: trunk/cgi-bin/LJ/MemCache.pm
===================================================================
--- trunk/cgi-bin/LJ/MemCache.pm	2012-05-23 11:51:06 UTC (rev 22039)
+++ trunk/cgi-bin/LJ/MemCache.pm	2012-05-23 12:32:33 UTC (rev 22040)
@@ -229,7 +229,7 @@
 
     if ($connections{$server} && $connections_pid{$server} ne $$) {
         warn "Connection to $server was established from other PID: old=$connections_pid{$server}, cur=$$"
-            unless $LJ::IS_DEV_SERVER;
+            if $LJ::IS_DEV_SERVER;
 
         my $old_handler = delete $connections{$server};
         $old_handler->disconnect_all;

Tags: livejournal, pm, vad, vadvs
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