Up line count to 500 to be sure

This commit is contained in:
Joshua Boniface 2020-11-10 16:17:13 -05:00
parent f729a54a2c
commit 1a0aedf01c
1 changed files with 2 additions and 2 deletions

View File

@ -1020,10 +1020,10 @@ def follow_console_log(config, vm, lines=10):
print(loglines, end='') print(loglines, end='')
while True: while True:
# Grab the next line set (200 is a reasonable number of lines per second; any more are skipped) # Grab the next line set (500 is a reasonable number of lines per second; any more are skipped)
try: try:
params = { params = {
'lines': 200 'lines': 500
} }
response = call_api(config, 'get', '/vm/{vm}/console'.format(vm=vm), params=params) response = call_api(config, 'get', '/vm/{vm}/console'.format(vm=vm), params=params)
new_console_log = response.json()['data'] new_console_log = response.json()['data']