File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
2727 restart : unless-stopped
2828 hostname : " $HOSTNAME"
2929 environment :
30- - GUNICORN_OPTS= --workers 1 --timeout 300 --max-requests 500
30+ - GUNICORN_OPTS= --workers 2 --timeout 300 --max-requests 500
3131 - OL_CONFIG=/olsystem/etc/openlibrary.yml
3232 volumes :
3333 - ../booklending_utils:/booklending_utils
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
3838 restart : unless-stopped
3939 hostname : " $HOSTNAME"
4040 environment :
41- - GUNICORN_OPTS= --workers 1 --timeout 180 --max-requests 500
41+ - GUNICORN_OPTS= --workers 2 --timeout 180 --max-requests 500
4242 - OL_CONFIG=/olsystem/etc/openlibrary.yml
4343 volumes :
4444 - ../olsystem:/olsystem
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ services:
2020 image : " ${OLIMAGE:-oldev:latest}"
2121 environment :
2222 - OL_CONFIG=${OL_CONFIG:-/openlibrary/conf/openlibrary.yml}
23- - GUNICORN_OPTS=${GUNICORN_OPTS:- --reload --workers 1 --timeout 180 --max-requests 500}
23+ - GUNICORN_OPTS=${GUNICORN_OPTS:- --reload --workers 2 --timeout 180 --max-requests 500}
2424 command : docker/ol-web-fastapi-start.sh
2525 ports :
2626 - ${FAST_WEB_PORT:-18080}:8080
You can’t perform that action at this time.
0 commit comments