Skip to content

Commit

Permalink
Update router.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowdave7 committed Aug 22, 2017
1 parent 9f60b21 commit 4990de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventmq/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def on_request(self, sender, msgid, msg, depth=1):
else:
self.processed_message_counts[queue_name] += 1

if queue_name not in self.processed_message_counts_by_worker:
if worker_addr not in self.processed_message_counts_by_worker:
self.processed_message_counts_by_worker[worker_addr] = 1
else:
self.processed_message_counts_by_worker[worker_addr] += 1
Expand Down

0 comments on commit 4990de5

Please sign in to comment.