VMware: Update default task_poll_interval value

The task_poll_interval option is used as the polling interval of vCenter/ESX
task status. This patch updates the default value to 0.5s in order to reduce
the wait time for task completion. Similar change has been done in nova and
this change is needed to keep the driver config values consistent.

DocImpact
   Updated default value of task_poll_interval to 0.5 seconds.

Change-Id: I66b80c629e255d61047592455ca42632f93051b2
Closes-bug: #1278028
This commit is contained in:
Vipin Balachandran 2014-07-18 16:08:02 +05:30
parent b28ee394f2
commit a82bae3f7b
2 changed files with 6 additions and 6 deletions

View File

@ -70,10 +70,10 @@ vmdk_opts = [
default=10,
help='Number of times VMware ESX/VC server API must be '
'retried upon connection related issues.'),
cfg.IntOpt('vmware_task_poll_interval',
default=5,
help='The interval (in seconds) for polling remote tasks '
'invoked on VMware ESX/VC server.'),
cfg.FloatOpt('vmware_task_poll_interval',
default=0.5,
help='The interval (in seconds) for polling remote tasks '
'invoked on VMware ESX/VC server.'),
cfg.StrOpt('vmware_volume_folder',
default='cinder-volumes',
help='Name for the folder in the VC datacenter that will '

View File

@ -1808,8 +1808,8 @@
#vmware_api_retry_count=10
# The interval (in seconds) for polling remote tasks invoked
# on VMware ESX/VC server. (integer value)
#vmware_task_poll_interval=5
# on VMware ESX/VC server. (floating point value)
#vmware_task_poll_interval=0.5
# Name for the folder in the VC datacenter that will contain
# cinder volumes. (string value)