vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21881: 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-04 07:31:26 UTC (rev 21880)
+++ trunk/cgi-bin/LJ/MemCache.pm	2012-05-04 08:24:53 UTC (rev 21881)
@@ -228,7 +228,9 @@
     my ($server) = @_;
 
     if ($connections{$server} && $connections_pid{$server} ne $$) {
-        warn "Connection to $server was established from other PID: old=$connections_pid{$server}, cur=$$";
+        warn "Connection to $server was established from other PID: old=$connections_pid{$server}, cur=$$"
+            unless $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