[ARVADOS] created: 8c65288ad1bd034f5959c10c67d43f86878c6c49

git at public.curoverse.com git at public.curoverse.com
Fri Jul 31 12:19:19 EDT 2015


        at  8c65288ad1bd034f5959c10c67d43f86878c6c49 (commit)


commit 8c65288ad1bd034f5959c10c67d43f86878c6c49
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri Jul 31 11:33:13 2015 -0400

    6598: Fix misreported "running tasks" stat.

diff --git a/sdk/cli/bin/crunch-job b/sdk/cli/bin/crunch-job
index 13001e7..9cd0844 100755
--- a/sdk/cli/bin/crunch-job
+++ b/sdk/cli/bin/crunch-job
@@ -1101,8 +1101,8 @@ sub update_progress_stats
   $progress_stats_updated = time;
   return if !$progress_is_dirty;
   my ($todo, $done, $running) = (scalar @jobstep_todo,
-				 scalar @jobstep_done,
-				 scalar @slot - scalar @freeslot - scalar @holdslot);
+                                 scalar @jobstep_done,
+                                 scalar keys(%proc));
   $Job->{'tasks_summary'} ||= {};
   $Job->{'tasks_summary'}->{'todo'} = $todo;
   $Job->{'tasks_summary'}->{'done'} = $done;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list