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

[livejournal] r20316: LJSUP-10142 (do not let the update-db ch...

Committer: ailyin
LJSUP-10142 (do not let the update-db child processes share a memcache connection)
U   trunk/bin/upgrading/update-db.pl
Modified: trunk/bin/upgrading/update-db.pl
===================================================================
--- trunk/bin/upgrading/update-db.pl	2011-10-14 07:56:17 UTC (rev 20315)
+++ trunk/bin/upgrading/update-db.pl	2011-10-14 08:10:08 UTC (rev 20316)
@@ -564,6 +564,7 @@
                 waitpid($pid, 0);
             }
             else {
+                LJ::MemCache->disconnect_all;
                 $compile->(@$_) foreach @batch;
                 exit 0;
             }

Tags: ailyin, andy, livejournal, pl
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