Dockerfile: add WSGIApplicationGroup %{GLOBAL} for C libraries
Apparently we might need this for some C code extensions: > Forcing a WSGI application to run within the first interpreter can be > necessary when a third party C extension module for Python has used > the simplified threading API for manipulation of the Python GIL and > thus will not run correctly within any additional sub interpreters > created by Python. https://www.modwsgi.org/en/latest/configuration-directives/WSGIApplicationGroup.html Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
05f7ad4f6b
commit
d24114b0fe
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
SetEnv LXR_PROJ_DIR /srv/elixir-data/
|
||||
# NOTE: it's recommended to set processes value to the number of available cores
|
||||
WSGIDaemonProcess Elixir processes=8 threads=1 display-name=%{GROUP} home=/usr/local/elixir/ python-home=/usr/local/elixir/venv/
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
|
||||
WSGIProcessGroup Elixir
|
||||
WSGIScriptAliasMatch "^/(?!static/)" /usr/local/elixir/wsgi.py/$1
|
||||
|
|
|
|||
Loading…
Reference in a new issue