Update entrypoint.sh

Default should be 4 single-thread workers

Change-Id: Ifa3d0cbcb16e4018d98bcc8cf70e46d8c9255be0
This commit is contained in:
Anthony Lin 2018-01-05 18:18:06 +00:00
parent 2cbb29ead2
commit a4c287ed21

View File

@ -19,9 +19,9 @@ set -ex
# Define port
PORT=${PORT:-9000}
# Number of uWSGI workers to handle API requests
DECKHAND_API_WORKERS=${DECKHAND_API_WORKERS:-"1"}
DECKHAND_API_WORKERS=${DECKHAND_API_WORKERS:-"4"}
# Threads per worker
DECKHAND_API_THREADS=${DECKHAND_API_THREADS:-"4"}
DECKHAND_API_THREADS=${DECKHAND_API_THREADS:-"1"}
# Start deckhand application
exec uwsgi \