Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Commit

Permalink
Fixes issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
mher committed May 15, 2013
1 parent 258d27a commit 5514356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcelery/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def prepare_expires(self, value=None, type=None):
if value is None:
value = self.app.conf.CELERY_TASK_RESULT_EXPIRES
if isinstance(value, timedelta):
value = timeutils.timedelta_seconds(value)
value = timeutils.timedelta_seconds(value) * 1000
if value is not None and type:
return type(value)
return value
Expand Down

0 comments on commit 5514356

Please sign in to comment.