Specify how frequently dashboard checks for data update
New config parameter 'dashboard-update-interval' is introduced. The interval specifies how frequently dashboard should check for updates in seconds. Default value is 1 hour (3600 seconds). This allows to avoid situation when dashboard needs to update data (rebuild indexes, purge cache) on every request that happens when processor runs. Closes bug 1324653 Change-Id: Ie86568eb5ec758e4f93bc3583f7bcce0f19df72f
This commit is contained in:
@@ -53,4 +53,7 @@ OPTS = [
|
||||
help='Default release, the most recent if not set'),
|
||||
cfg.StrOpt('default-project-type', default='openstack',
|
||||
help='Default project type'),
|
||||
cfg.IntOpt('dashboard-update-interval', default=3600,
|
||||
help='The interval specifies how frequently dashboard should '
|
||||
'check for updates in seconds'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user