From f4624f7c65f0205708c6b7dee33302128694c535 Mon Sep 17 00:00:00 2001 From: Nikolay Panov Date: Sat, 30 Jul 2016 20:39:21 -0700 Subject: [PATCH] Fixed "Dashboard display NaN for Pool and Utilization" issue. https://github.com/pricingassistant/mrq/issues/111 --- mrq/dashboard/static/js/views/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrq/dashboard/static/js/views/index.js b/mrq/dashboard/static/js/views/index.js index e6e5709c..f48c442e 100644 --- a/mrq/dashboard/static/js/views/index.js +++ b/mrq/dashboard/static/js/views/index.js @@ -21,7 +21,7 @@ define(["jquery", "underscore", "views/generic/page", "models", "moment", "circl var doneJobs = 0; for (var i in workers) { - poolSize += workers[i].config.gevent + poolSize += workers[i].config.greenlets currentJobs += workers[i].jobs.length doneJobs += workers[i].done_jobs }