From 5b5ab4860f56c430280ba6e39e02361c06222622 Mon Sep 17 00:00:00 2001 From: glaslos Date: Thu, 29 Jan 2015 14:18:59 +0100 Subject: [PATCH] passing on the ttl --- rq/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/queue.py b/rq/queue.py index 7352459..bdcf1f3 100644 --- a/rq/queue.py +++ b/rq/queue.py @@ -184,7 +184,7 @@ class Queue(object): # TODO: job with dependency shouldn't have "queued" as status job = self.job_class.create(func, args, kwargs, connection=self.connection, - result_ttl=result_ttl, status=JobStatus.QUEUED, + result_ttl=result_ttl, ttl=ttl, status=JobStatus.QUEUED, description=description, depends_on=depends_on, timeout=timeout, id=job_id)