From 4875331b60ddf8ddfe5b374ec75c938eb9749602 Mon Sep 17 00:00:00 2001 From: liangsijian Date: Fri, 26 May 2017 14:32:08 +0800 Subject: [PATCH] Optimize job.dependency job.refresh has been call in job.fetch --- rq/job.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rq/job.py b/rq/job.py index 0ccf736..8b20474 100644 --- a/rq/job.py +++ b/rq/job.py @@ -191,7 +191,6 @@ class Job(object): if hasattr(self, '_dependency'): return self._dependency job = self.fetch(self._dependency_id, connection=self.connection) - job.refresh() self._dependency = job return job