Permalink
Browse files

Fixes issue #11

  • Loading branch information...
1 parent 258d27a commit 5514356e08c16280983411900107022c7ad05ce8 @mher committed May 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tcelery/producer.py
View
2 tcelery/producer.py
@@ -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

0 comments on commit 5514356

Please sign in to comment.