|
|
@ -186,7 +186,7 @@ class Queue(object):
|
|
|
|
timeout = timeout or self._default_timeout
|
|
|
|
timeout = timeout or self._default_timeout
|
|
|
|
|
|
|
|
|
|
|
|
job = self.job_class.create(
|
|
|
|
job = self.job_class.create(
|
|
|
|
func, args, kwargs, connection=self.connection,
|
|
|
|
func, args=args, kwargs=kwargs, connection=self.connection,
|
|
|
|
result_ttl=result_ttl, ttl=ttl, status=JobStatus.QUEUED,
|
|
|
|
result_ttl=result_ttl, ttl=ttl, status=JobStatus.QUEUED,
|
|
|
|
description=description, depends_on=depends_on,
|
|
|
|
description=description, depends_on=depends_on,
|
|
|
|
timeout=timeout, id=job_id, origin=self.name)
|
|
|
|
timeout=timeout, id=job_id, origin=self.name)
|
|
|
|