Skip to content

Commit 8eb5ed7

Browse files
committed
fix crash on using the single queue type
The single and multiple message per coord tracker queues are used interchangeable on a config value, but the methods have not the same count of arguments. This commit fixes the resulting crash by adding the missing, unused parameter to the track function of the SingleMessagePerCoordTracker class
1 parent 44ecdd7 commit 8eb5ed7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tilequeue/queue/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class SingleMessagePerCoordTracker(object):
8282
one-to-one mapping between queue handles and coordinates
8383
"""
8484

85-
def track(self, queue_handle, coords):
85+
def track(self, queue_handle, coords, parent_tile=None):
8686
assert len(coords) == 1
8787
return [queue_handle]
8888

0 commit comments

Comments
 (0)