From 5071a60c97bc48526ac381fe7d5e468712beb056 Mon Sep 17 00:00:00 2001 From: Abhishek Kekane Date: Tue, 28 Jul 2020 05:36:38 +0000 Subject: [PATCH] Refresh Glance example configs for Victoria milestone 2 Change-Id: Ie8b8e8557098e756399b106bafc03bbcb39c29b0 --- etc/glance-api.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/etc/glance-api.conf b/etc/glance-api.conf index e6f5125bbe..c4b1798767 100644 --- a/etc/glance-api.conf +++ b/etc/glance-api.conf @@ -5582,3 +5582,29 @@ # its actual default value may vary from the one documented # below. #conversion_format = raw + + +[wsgi] + +# +# From glance.api +# + +# +# The number of threads (per worker process) in the pool for processing +# asynchronous tasks. This controls how many asynchronous tasks (i.e. for +# image interoperable import) each worker can run at a time. If this is +# too large, you *may* have increased memory footprint per worker and/or you +# may overwhelm other system resources such as disk or outbound network +# bandwidth. If this is too small, image import requests will have to wait +# until a thread becomes available to begin processing. (integer value) +# Minimum value: 1 +#task_pool_threads = 16 + +# +# Path to the python interpreter to use when spawning external +# processes. By default this is sys.executable, which should be the +# same interpreter running Glance itself. However, in some situations +# (i.e. uwsgi) this may not actually point to a python interpreter +# itself. (string value) +#python_interpreter = /bin/python