mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05: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
@ -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…
x
Reference in New Issue
Block a user