VEuPathDB / lib-compute-platform

Async compute platform core.
1 stars 0 forks source link

When resubmitting an existing job, the job should not be "inserted" into the database. #29

Closed Foxcapades closed 1 year ago

Foxcapades commented 1 year ago

The job submission method is supposed to handle the case where a job that already exists is being resubmitted. This handling, however, incorrectly attempts to re-insert the job record rather than updating the status back to queued.

Fix the job submission method to update the existing job record in the database when the job is being resubmitted.