You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 11:20:01 UTC

svn commit: r1132288 - /incubator/mesos/trunk/src/master/master.hpp

Author: benh
Date: Sun Jun  5 09:20:01 2011
New Revision: 1132288

URL: http://svn.apache.org/viewvc?rev=1132288&view=rev
Log:
Removing some unnecessary debugging output.

Modified:
    incubator/mesos/trunk/src/master/master.hpp

Modified: incubator/mesos/trunk/src/master/master.hpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/master/master.hpp?rev=1132288&r1=1132287&r2=1132288&view=diff
==============================================================================
--- incubator/mesos/trunk/src/master/master.hpp (original)
+++ incubator/mesos/trunk/src/master/master.hpp Sun Jun  5 09:20:01 2011
@@ -337,8 +337,8 @@ protected:
     // slave and try and send another ping. If we eventually timeout too
     // many missed pongs in a row, consider the slave dead.
     do {
-      std::cout.precision(15);
-      std::cout << self() << " elapsed: " << elapsed() << std::endl;
+//       std::cout.precision(15);
+//       std::cout << self() << " elapsed: " << elapsed() << std::endl;
       receive(SLAVE_PONG_TIMEOUT);
       if (name() == PONG) {
         timeouts = 0;
@@ -347,7 +347,7 @@ protected:
         if (pinged) {
           timeouts++;
           pinged = false;
-          std::cout << self() << " missing slave PONG, timeouts = " << timeouts << std::endl;
+//           std::cout << self() << " missing slave PONG, timeouts = " << timeouts << std::endl;
         }
 
         send(slave, PING);