Set openstack-health cache_expiration to 5min
This commit shrinks the openstack-health cache expiration time from the default 15min to 5min. Since we added the async cache updating the need for a longer cache period has gone away. We had a conservative default originally to make it less likely that a user would hit a cache refresh, which with ES queries could take a long time. The async worker always makes sure that the cached result is always used and if it's stale the cache is refreshed in the background so there is no user facing delays. (after the initial cache population) Change-Id: Ice6ca0e61504f3fff5c4d1e863811710c7c89fb7
This commit is contained in:
parent
5d5291d790
commit
6c26efd377
@ -26,5 +26,6 @@ class openstack_project::openstack_health_api (
|
||||
db_uri => "mysql+pymysql://${subunit2sql_db_user}:${subunit2sql_db_pass}@${subunit2sql_db_host}/${subunit2sql_db_name}",
|
||||
vhost_name => $hostname,
|
||||
vhost_port => 80,
|
||||
cache_expiration => 300,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user