Update entrypoint.sh
Default should be 4 single-thread workers Change-Id: Ifa3d0cbcb16e4018d98bcc8cf70e46d8c9255be0
This commit is contained in:
parent
2cbb29ead2
commit
a4c287ed21
|
@ -19,9 +19,9 @@ set -ex
|
||||||
# Define port
|
# Define port
|
||||||
PORT=${PORT:-9000}
|
PORT=${PORT:-9000}
|
||||||
# Number of uWSGI workers to handle API requests
|
# 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
|
# Threads per worker
|
||||||
DECKHAND_API_THREADS=${DECKHAND_API_THREADS:-"4"}
|
DECKHAND_API_THREADS=${DECKHAND_API_THREADS:-"1"}
|
||||||
|
|
||||||
# Start deckhand application
|
# Start deckhand application
|
||||||
exec uwsgi \
|
exec uwsgi \
|
||||||
|
|
Loading…
Reference in New Issue