From 85a17ea1ded77204fa7f0d2510a637805d1724bb Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Sat, 13 Sep 2014 14:49:24 -0500 Subject: [PATCH] Configurable Keystone admin workers The API_WORKERS option wasn't setting the number of admin workers for the Keystone server when running in eventlet mode. This will allow for control of throughput and memory usage. Change-Id: Iecbce4a601f93784164e53d8b0c542d48f7b5650 --- lib/keystone | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/keystone b/lib/keystone index be6260733a..b6a4e1097a 100644 --- a/lib/keystone +++ b/lib/keystone @@ -293,6 +293,9 @@ function configure_keystone { fi iniset $KEYSTONE_CONF DEFAULT max_token_size 16384 + + iniset $KEYSTONE_CONF DEFAULT admin_workers "$API_WORKERS" + # Public workers will use the server default, typically number of CPU. } function configure_keystone_extensions {