Is it possible to do something like
Code: Select all
while cluster.wait():
time.sleep(10)
cluster.print_status()
Moderator: admin
Code: Select all
while cluster.wait():
time.sleep(10)
cluster.print_status()
Code: Select all
while 1:
cluster.print_status()
if not cluster.wait(timeout=10):
break