mirror of https://github.com/nicolargo/glances.git
API response delay (3+ minutes) when VMs are running due to 'virsh domstats' – Suggest adding '--nowait' option #3317
This commit is contained in:
parent
8a748d15e3
commit
8c70a55488
|
|
@ -22,7 +22,7 @@ from glances.secure import secure_popen
|
|||
VIRSH_PATH = '/usr/bin/virsh'
|
||||
VIRSH_VERSION_OPTIONS = 'version'
|
||||
VIRSH_INFO_OPTIONS = 'list --all'
|
||||
VIRSH_DOMAIN_STATS_OPTIONS = 'domstats'
|
||||
VIRSH_DOMAIN_STATS_OPTIONS = 'domstats --nowait'
|
||||
VIRSH_DOMAIN_TITLE_OPTIONS = 'desc --title'
|
||||
import_virsh_error_tag = not os.path.exists(VIRSH_PATH) or not os.access(VIRSH_PATH, os.X_OK)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue