arvados-cli 0.1.20150803001017 → 0.1.20150803031055

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 173a9d5ae19b200992d0ed5301b8f887031093e6
4
- data.tar.gz: a7a7b302bf1d5f032a009f08552e9e4f63c9789e
3
+ metadata.gz: 0304f06d8b2db5f6c1f7a76b6c306c7fd76af6d4
4
+ data.tar.gz: bc55ecdd495428735135e5574f420c1ebb5dced7
5
5
  SHA512:
6
- metadata.gz: 836a46658375eac60c96925a316b5501864829dcfcd6c29e4cf1044c508fd73977faa364f7e99c23019d01af806a65ad1411a749727ef7341d0558cc83221976
7
- data.tar.gz: 30879f52ad463f9f8159bafabbfd105f414357ebbc841dceb3cae365e8f62824f6f91d26c3659bdf6678273d8160e269cd4b21bda99e866d557521fbf58e6297
6
+ metadata.gz: 3d5a093567466b54d411571a773929a3f84502752c1ee7808fc1eafc790e376969882f9118c16fc9c0e181d16a8a50a940382de0ccf1b48b995d8b2420f44bc8
7
+ data.tar.gz: 0dd89b5621ade6399584b8893073a428f60fb817f4e82b6272af03eded88d1169aefd1f9fd56468412e76dc555e2f9d7bfdf14e780387d8ef806e9260dc0b915
data/bin/crunch-job CHANGED
@@ -987,7 +987,7 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
987
987
  update_progress_stats();
988
988
  select (undef, undef, undef, 0.1);
989
989
  }
990
- elsif (time - $progress_stats_updated >= 30)
990
+ elsif (time - $progress_stats_updated >= 30 || $progress_is_dirty)
991
991
  {
992
992
  update_progress_stats();
993
993
  }
@@ -1094,8 +1094,8 @@ sub update_progress_stats
1094
1094
  $progress_stats_updated = time;
1095
1095
  return if !$progress_is_dirty;
1096
1096
  my ($todo, $done, $running) = (scalar @jobstep_todo,
1097
- scalar @jobstep_done,
1098
- scalar @slot - scalar @freeslot - scalar @holdslot);
1097
+ scalar @jobstep_done,
1098
+ scalar keys(%proc));
1099
1099
  $Job->{'tasks_summary'} ||= {};
1100
1100
  $Job->{'tasks_summary'}->{'todo'} = $todo;
1101
1101
  $Job->{'tasks_summary'}->{'done'} = $done;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20150803001017
4
+ version: 0.1.20150803031055
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.0
181
- description: Arvados command line tools, git commit bb58564d632498a394ee75b07d17f41b724ef824
181
+ description: Arvados command line tools, git commit 6988f4d44d2f8f7fc4aa2c381334c44d3133cf31
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv