Add Gunicorn timeout (#364)

This commit is contained in:
Tanay Soni 2020-09-10 09:20:39 +02:00 committed by GitHub
parent 06e8be30ea
commit 9d93ffbe54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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::
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