From a71362127628ef736d70f0009851cd1fe51c9fb8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 30 Jan 2014 16:51:51 -0500 Subject: 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 --- meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-openstack/recipes-devtools/python') 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 [token] # driver = keystone.token.backends.kvs.Token +driver = keystone.token.backends.sql.Token # Amount of time a token should remain valid (in seconds) # expiration = 86400 +expiration = 3600 [policy] # driver = keystone.policy.backends.sql.Policy -- cgit v1.2.3-54-g00ecf