Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
lifetime added
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorina committed May 13, 2016
1 parent 59e1ad8 commit 3f1df55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mturk/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def create_hits(self, project, tasks=None, repetition=None):
if not MTurkHIT.objects.filter(task=task):
hit = self.connection.create_hit(hit_type=None, max_assignments=max_assignments,
title=title, reward=reward,
lifetime=datetime.timedelta(days=2),
duration=datetime.timedelta(hours=settings.MTURK_COMPLETION_TIME),
description=self.description, keywords=self.keywords,
qualifications=qualifications,
Expand Down

0 comments on commit 3f1df55

Please sign in to comment.