[mlpack-svn] r15681 - mlpack/conf/jenkins-conf/benchmark/util

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Aug 27 08:22:00 EDT 2013


Author: marcus
Date: Tue Aug 27 08:21:59 2013
New Revision: 15681

Log:
Add timeout to avoid a deadlock.

Modified:
   mlpack/conf/jenkins-conf/benchmark/util/timer.py

Modified: mlpack/conf/jenkins-conf/benchmark/util/timer.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/util/timer.py	(original)
+++ mlpack/conf/jenkins-conf/benchmark/util/timer.py	Tue Aug 27 08:21:59 2013
@@ -66,7 +66,7 @@
     return -2
   else:
     try:
-      r = q.get()
+      r = q.get(timeout=3)
     except Exception as e:
       r = -1
     return r



More information about the mlpack-svn mailing list