[haizea-commit] r829 - branches/1.1/src/haizea/core

haizea-commit at mailman.cs.uchicago.edu haizea-commit at mailman.cs.uchicago.edu
Thu Jul 15 17:45:41 CDT 2010


Author: borja
Date: 2010-07-15 17:45:40 -0500 (Thu, 15 Jul 2010)
New Revision: 829

Modified:
   branches/1.1/src/haizea/core/leases.py
Log:
Bug in how slowdown is computed

Modified: branches/1.1/src/haizea/core/leases.py
===================================================================
--- branches/1.1/src/haizea/core/leases.py	2010-07-09 23:31:53 UTC (rev 828)
+++ branches/1.1/src/haizea/core/leases.py	2010-07-15 22:45:40 UTC (rev 829)
@@ -624,7 +624,7 @@
         All leases with a duration less than this
         parameter are rounded up to the bound.
         """          
-        time_on_dedicated = self.duration.original
+        time_on_dedicated = self.duration.actual
         time_on_loaded = self.end - self.submit_time
         bound = TimeDelta(seconds=bound)
         if time_on_dedicated < bound:



More information about the Haizea-commit mailing list