X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/061dc0bcb7ced7ad196c6cc71dd25aab59948e46..eff1d4ece26ce459c1f19b202a2048b2f663bddc:/services/api/script/crunch-dispatch.rb diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb index 9eb1c28cb2..6df9a19d29 100755 --- a/services/api/script/crunch-dispatch.rb +++ b/services/api/script/crunch-dispatch.rb @@ -310,7 +310,7 @@ class Dispatcher jobrecord = Job.find_by_uuid(job_done.uuid) jobrecord.running = false - jobrecord.finished_at ||= Time.now, + 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!