diff --git a/rq/dependency.py b/rq/dependency.py index e830b720..6682f95b 100644 --- a/rq/dependency.py +++ b/rq/dependency.py @@ -10,6 +10,8 @@ class Dependency: pipe = pipeline if pipeline else cls.connection ready_jobs = [] for job in jobs: + if not job._dependency_ids: + pass while True: try: pipe.watch(*[Job.key_for(dependency_id) for dependency_id in job._dependency_ids])