mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
docker: increase gunicorn worker timeout to handle large images
Currently, the processing of larger images takes some time, for example a manifest generated from core-image-sato-sdk seems to take about 45s to load into the database which is longer than gunicorn's default worker timeout of 30s. Increase the timeout to 60s as a workaround until we optimise the import. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
7e99440afd
commit
2e51e53110
|
@ -65,4 +65,4 @@ COPY docker/.gitconfig /home/layers/.gitconfig
|
|||
COPY docker/git-proxy /opt/bin/git-proxy
|
||||
|
||||
# Start Gunicorn
|
||||
CMD ["/usr/local/bin/gunicorn", "wsgi:application", "--workers=4", "--bind=:5000", "--log-level=debug", "--chdir=/opt/layerindex"]
|
||||
CMD ["/usr/local/bin/gunicorn", "wsgi:application", "--workers=4", "--bind=:5000", "--timeout=60", "--log-level=debug", "--chdir=/opt/layerindex"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user