Skip to content

Commit 85a17ea

Browse files
Brant KnudsonDean Troyer
authored andcommitted
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
1 parent 106b379 commit 85a17ea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/keystone

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ function configure_keystone {
293293
fi
294294

295295
iniset $KEYSTONE_CONF DEFAULT max_token_size 16384
296+
297+
iniset $KEYSTONE_CONF DEFAULT admin_workers "$API_WORKERS"
298+
# Public workers will use the server default, typically number of CPU.
296299
}
297300

298301
function configure_keystone_extensions {

0 commit comments

Comments
 (0)