Use floating point literals

This commit is contained in:
Roberto Rosario
2012-07-30 13:07:01 -04:00
parent 1f2b5b6d29
commit cfb1278c7e

View File

@@ -9,8 +9,8 @@ from .models import JobQueue
from .exceptions import JobQueueNoPendingJobs
LOCK_EXPIRE = 10
MAX_CPU_LOAD = 90
MAX_MEMORY_USAGE = 90
MAX_CPU_LOAD = 90.0
MAX_MEMORY_USAGE = 90.0
logger = logging.getLogger(__name__)