57c6b3187f
This allows deployment tooling to easily switch from passing a binary path to passing a Python module path. We'll use it shortly. Change-Id: I36bb9ab43c3263b5064f35f4fc550722a0e83279
26 lines
615 B
INI
26 lines
615 B
INI
[uwsgi]
|
|
module = keystone.wsgi.api:application
|
|
|
|
# Versions of mod_proxy_uwsgi>=2.0.6 should use a UNIX socket, see
|
|
# http://uwsgi-docs.readthedocs.org/en/latest/Apache.html#mod-proxy-uwsgi
|
|
uwsgi-socket = 127.0.0.1:35358
|
|
|
|
# Override the default size for headers from the 4k default.
|
|
buffer-size = 65535
|
|
|
|
# This is running standalone
|
|
master = true
|
|
|
|
enable-threads = true
|
|
|
|
# Tune this to your environment.
|
|
processes = 4
|
|
|
|
# uwsgi recommends this to prevent thundering herd on accept.
|
|
thunder-lock = true
|
|
|
|
plugins = python
|
|
|
|
# This ensures that file descriptors aren't shared between keystone processes.
|
|
lazy-apps = true
|