mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1131780 - /incubator/mesos/trunk/src/slave.cpp
Date Sun, 05 Jun 2011 05:28:52 GMT
Author: benh
Date: Sun Jun  5 05:28:52 2011
New Revision: 1131780

URL: http://svn.apache.org/viewvc?rev=1131780&view=rev
Log:
My last commit removed the timeout on receive, which is bad as pointed out by benh

Modified:
    incubator/mesos/trunk/src/slave.cpp

Modified: incubator/mesos/trunk/src/slave.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/slave.cpp?rev=1131780&r1=1131779&r2=1131780&view=diff
==============================================================================
--- incubator/mesos/trunk/src/slave.cpp (original)
+++ incubator/mesos/trunk/src/slave.cpp Sun Jun  5 05:28:52 2011
@@ -180,7 +180,7 @@ void Slave::operator () ()
   string data;
 
   while (true) {
-    switch (receive()) {
+    switch (receive(2)) {
       case NEW_MASTER_DETECTED: {
 	string masterSeq;
 	PID masterPid;



Mime
View raw message