diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-01-30 16:51:51 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-01-30 16:51:51 -0500 |
| commit | a71362127628ef736d70f0009851cd1fe51c9fb8 (patch) | |
| tree | b8a87aa9a367056192ff3d7de5581b1efd6dd392 /meta-openstack/recipes-devtools/python/python-keystone | |
| parent | 52630db08636fb2ceb985ee4651e7d5b9032948c (diff) | |
| download | meta-cloud-services-a71362127628ef736d70f0009851cd1fe51c9fb8.tar.gz | |
keystone: update default backend and timeout configuration
Explicitly update the default keystone configuration file to indicate
the sql token backend, and set the default timeout value to 3600 seconds.
This both improves performance and ages out tokens sooner, keeping the
token list and database smaller.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf index 954db2e..3c3efb8 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | |||
| @@ -108,9 +108,11 @@ connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone | |||
| 108 | 108 | ||
| 109 | [token] | 109 | [token] |
| 110 | # driver = keystone.token.backends.kvs.Token | 110 | # driver = keystone.token.backends.kvs.Token |
| 111 | driver = keystone.token.backends.sql.Token | ||
| 111 | 112 | ||
| 112 | # Amount of time a token should remain valid (in seconds) | 113 | # Amount of time a token should remain valid (in seconds) |
| 113 | # expiration = 86400 | 114 | # expiration = 86400 |
| 115 | expiration = 3600 | ||
| 114 | 116 | ||
| 115 | [policy] | 117 | [policy] |
| 116 | # driver = keystone.policy.backends.sql.Policy | 118 | # driver = keystone.policy.backends.sql.Policy |
