virt-manager: check if still connected every 20 seconds

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2014-07-01 13:06:05 +02:00
parent 3606bb573d
commit 538c68a41d
1 changed files with 1 additions and 0 deletions

View File

@ -1030,6 +1030,7 @@ class vmmConnection(vmmGObject):
logging.debug("%s capabilities:\n%s",
self.get_uri(), self.caps.xml)
self._add_conn_events()
self._backend.setKeepAlive(20, 1)
self.schedule_priority_tick(stats_update=True,
pollvm=True, pollnet=True,
pollpool=True, polliface=True,