Browse code

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

Brant Knudson authored on 2014/09/14 04:49:24
Showing 1 changed files
... ...
@@ -293,6 +293,9 @@ function configure_keystone {
293 293
     fi
294 294
 
295 295
     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.
296 299
 }
297 300
 
298 301
 function configure_keystone_extensions {