|
|
@ -744,9 +744,8 @@ class Job(object):
|
|
|
|
pipe = pipeline if pipeline is not None else self.connection
|
|
|
|
pipe = pipeline if pipeline is not None else self.connection
|
|
|
|
|
|
|
|
|
|
|
|
if watch:
|
|
|
|
if watch:
|
|
|
|
pipe.watch(self.dependencies_key)
|
|
|
|
pipe.watch(*[Job.key_for(_id)
|
|
|
|
pipe.watch(*[self.redis_job_namespace_prefix + as_text(_id)
|
|
|
|
for _id in self.connection.smembers(self.dependencies_key)])
|
|
|
|
for _id in pipe.smembers(self.dependencies_key)])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sort_by = self.redis_job_namespace_prefix + '*->ended_at'
|
|
|
|
sort_by = self.redis_job_namespace_prefix + '*->ended_at'
|
|
|
|
get_field = self.redis_job_namespace_prefix + '*->status'
|
|
|
|
get_field = self.redis_job_namespace_prefix + '*->status'
|
|
|
@ -762,5 +761,4 @@ class Job(object):
|
|
|
|
|
|
|
|
|
|
|
|
return dependencies_statuses
|
|
|
|
return dependencies_statuses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_job_stack = LocalStack()
|
|
|
|
_job_stack = LocalStack()
|
|
|
|