mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-20 15:30:21 -04:00
fix resume_job function, the job was not able to resume because the job stop_requested value was not reset.
This commit is contained in:
parent
554dbe821b
commit
36e323c942
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ class RethinkDbFrontier:
|
|||
|
||||
def resume_job(self, job):
|
||||
job.status = "ACTIVE"
|
||||
job.stop_requested = None
|
||||
job.starts_and_stops.append(
|
||||
{"start":doublethink.utcnow(), "stop":None})
|
||||
job.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue