
It will be easier to locate and use as a wsgi application like this: mistral.wsgi:application Also call oslo_service init_backend very early to avoid loading eventlet backend. Finally, amend the doc and allow using MISTRAL_CONFIG_DIR and MISTRAL_CONFIG_FILE to provide similar functionalities as --config-dir and --config-file options from CLI. Change-Id: I5d4178b7de49c89a3d15467186b165e518cfe87e Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
13 lines
410 B
YAML
13 lines
410 B
YAML
---
|
|
other:
|
|
- |
|
|
Adding a new wsgi entrypoint to allow using it within WSGI servers (like
|
|
uWSGI) using ``mistral.wsgi:application``.
|
|
|
|
Note that **this is the only way to start more than one mistral API
|
|
worker**.
|
|
|
|
Also adding two environment variables ``MISTRAL_CONFIG_DIR`` and
|
|
``MISTRAL_CONFIG_FILE`` to allow setting config-dir and config-file when
|
|
using the new wsgi entrypoint.
|