Skip to content

Commit

Permalink
* Fixed bug in set handling in broker. (Thanks Bart!)
Browse files Browse the repository at this point in the history
  • Loading branch information
soravux committed Jul 25, 2014
1 parent e96a2d2 commit c324c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoop/broker/brokerzmq.py
Expand Up @@ -323,7 +323,7 @@ def pruneAssignedTasks(self):
for address in self.assigned_tasks.keys():
addr_time = self.status_times.get(address, 0)
if addr_time + scoop.TIME_BETWEEN_STATUS_PRUNING > time.time():
to_keep += address
to_keep.add(address)

to_remove = set(self.assigned_tasks.keys()).difference(to_keep)
for addr in to_remove:
Expand Down

0 comments on commit c324c0f

Please sign in to comment.