Up line count to 500 to be sure
This commit is contained in:
parent
f729a54a2c
commit
1a0aedf01c
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue