Closed alukach closed 2 months ago
does web_concurency=1, fall back to being like uvicorn
?
does web_concurency=1, fall back to being like uvicorn ?
@vincentsarago I honestly don't know, what do you exactly mean by "like uvicorn"? My goal is basically just less noisy logs when developing.
I meant that if you set web_concurency=1
it might be the same as using Uvicorn
directly instead of Gunicorn
https://github.com/tiangolo/uvicorn-gunicorn-docker?tab=readme-ov-file#web_concurrency
To minimize chatter in the Docker logs, it's nice to be able to disable web concurrency for gunicorn processes.
NOTE: It may be nice to have concurrency be set to
1
by default. I'm assuming the average person running this docker file will be a developer working on their eoAPI solutions locally, when high concurrency is not a strong need.