Skip to content

Commit

Permalink
don't remove from the queue even if it's running.
Browse files Browse the repository at this point in the history
May want to reinstitute this in the future.
  • Loading branch information
aronasorman committed May 23, 2017
1 parent 01d0640 commit 23ba84d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/barbequeue/storage/backends/inmem.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ def mark_job_as_running(self, job_id):
job = self._get_job_nocopy(job_id)
job.state = Job.State.RUNNING

# Remove job from queue
self.queue.remove(job_id)

def complete_job(self, job_id):
job = self._get_job_nocopy(job_id)

Expand Down

0 comments on commit 23ba84d

Please sign in to comment.