log only when verbose
This commit is contained in:
@@ -472,11 +472,11 @@ if not msgonly:
|
|||||||
|
|
||||||
conns = {}
|
conns = {}
|
||||||
while True:
|
while True:
|
||||||
log(" create connections")
|
if verbose: log("create connections")
|
||||||
createConnections(hb_hosts)
|
createConnections(hb_hosts)
|
||||||
if len(conns) != 0:
|
if len(conns) != 0:
|
||||||
break
|
break
|
||||||
log(" no connections yet, sleep a bit")
|
if verbose: log("no connections yet, sleep a bit")
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|||||||
Reference in New Issue
Block a user