[ARVADOS] updated: aa19561b8139abbd27cea7bb88ec600b3df16de1
git at public.curoverse.com
git at public.curoverse.com
Thu Mar 20 15:32:13 EDT 2014
Summary of changes:
services/api/script/crunch-dispatch.rb | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
via aa19561b8139abbd27cea7bb88ec600b3df16de1 (commit)
from bdb71f7762196e179e495bda28f4375e5c69af31 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit aa19561b8139abbd27cea7bb88ec600b3df16de1
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Mar 20 15:32:10 2014 -0400
Silly git staging.
diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb
index 3635846..9eb1c28 100755
--- a/services/api/script/crunch-dispatch.rb
+++ b/services/api/script/crunch-dispatch.rb
@@ -309,7 +309,10 @@ class Dispatcher
j_done[:wait_thr].value
jobrecord = Job.find_by_uuid(job_done.uuid)
- jobrecord.assert_finished
+ jobrecord.running = false
+ jobrecord.finished_at ||= Time.now,
+ # Don't set 'jobrecord.success = false' because if the job failed to run due to an
+ # issue with crunch-job or slurm, we want the job to stay in the queue.
jobrecord.save!
# Invalidate the per-job auth token
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list