Merge "Fix changing keys during iteration in matchmaker heartbeat"

This commit is contained in:
Jenkins 2015-03-19 11:13:27 +00:00 committed by Gerrit Code Review
commit 642ddd98dc

@ -164,7 +164,7 @@ class HeartbeatMatchMakerBase(MatchMakerBase):
Use start_heartbeat to spawn a heartbeat greenthread, Use start_heartbeat to spawn a heartbeat greenthread,
which loops this method. which loops this method.
""" """
for key, host in self.host_topic: for key, host in self.host_topic.keys():
self.ack_alive(key, host) self.ack_alive(key, host)
def ack_alive(self, key, host): def ack_alive(self, key, host):