Update HTML on moving peers

This commit is contained in:
simon.kagstrom 2010-02-27 07:26:54 +00:00
parent 2327d91ed2
commit 76c82882ad

View File

@ -673,6 +673,10 @@ class Broker(SocketServer.UDPServer):
except Exception, e:
log_error("Moving peer %s to active failed: %s" % (str(peer.addr), str(e)))
stats.update_peer_nr(len(self.waiting_peers), len(self.active_peers))
try:
stats.generate_html(self.stat_html)
except Exception, e:
pass
def remove_peer(self, peer):
try: