better message
This commit is contained in:
@@ -206,9 +206,7 @@ while up:
|
|||||||
up=0
|
up=0
|
||||||
msg="shutdown=1;name=%s;acks=%s" % (iam, ackcount)
|
msg="shutdown=1;name=%s;acks=%s" % (iam, ackcount)
|
||||||
for hb_host in hb_hosts:
|
for hb_host in hb_hosts:
|
||||||
if verbose: print "sock.send('%s', (%s, %s))" % (msg, hb_host, hb_port)
|
if verbose: print "hbc: sock.send('%s', (%s, %s))" % (msg, hb_host, hb_port)
|
||||||
sock.sendto(msg, (hb_host, hb_port))
|
sock.sendto(msg, (hb_host, hb_port))
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
sock.close()
|
sock.close()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user