fix keepalive to only output at five minute intervals
This commit is contained in:
@@ -17,6 +17,7 @@ def logrun(cmd, file, timeout):
|
||||
if (time.time() - lastOutput) > 300:
|
||||
sys.stderr.write(".")
|
||||
sys.stderr.flush()
|
||||
lastOutput = time.time()
|
||||
with open(file, 'r') as inf:
|
||||
contents = inf.read()
|
||||
if len(contents) > len(oldContents):
|
||||
|
||||
Reference in New Issue
Block a user