mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Reset vnc failure count & delay on state changes. This ensures we re-try the connection when switching from shutoff -> running state transitions with inactive guests
This commit is contained in:
parent
483f3436aa
commit
8a7fe3c17a
@ -413,6 +413,9 @@ class vmmConsole(gobject.GObject):
|
||||
else:
|
||||
self.activate_unavailable_page()
|
||||
else:
|
||||
# State changed, so better let it try connecting again
|
||||
self.vncViewerFailures = 0
|
||||
self.vncViewerRetryDelay = 125
|
||||
try:
|
||||
self.try_login()
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user