mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-07 05:14:08 +00:00
Add Gunicorn timeout (#364)
This commit is contained in:
parent
06e8be30ea
commit
9d93ffbe54
@ -250,7 +250,7 @@ A simple REST API based on `FastAPI <https://fastapi.tiangolo.com/>`_ is provide
|
|||||||
|
|
||||||
To serve the API, adjust the values in :code:`rest_api/config.py` and run::
|
To serve the API, adjust the values in :code:`rest_api/config.py` and run::
|
||||||
|
|
||||||
gunicorn rest_api.application:app -b 0.0.0.0:8000 -k uvicorn.workers.UvicornWorker
|
gunicorn rest_api.application:app -b 0.0.0.0:8000 -k uvicorn.workers.UvicornWorker -t 300
|
||||||
|
|
||||||
You will find the Swagger API documentation at http://127.0.0.1:8000/docs
|
You will find the Swagger API documentation at http://127.0.0.1:8000/docs
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user