removed unnecessary create_hit_type_lock
@@ -36,7 +36,6 @@ ASSIGNMENT_APPROVED = 'Approved'
ASSIGNMENT_REJECTED = 'Rejected'
polling_interval = 1 # in seconds
-create_hit_type_lock = threading.Lock()
local_db_lock = threading.Lock()
debug = False
@@ -220,7 +219,6 @@ class MTurkManager():
mturk_agent_HIT_url_dict = {}
for mturk_agent_id in self.mturk_agent_ids:
for hit_index in range(1, opt['num_hits']+1):
- with create_hit_type_lock:
hit_type_id = create_hit_type(
hit_title=opt['hit_title'],
hit_description=opt['hit_description'] + ' (ID: ' + self.task_group_id + ', Role: ' + mturk_agent_id + ')',
