From a4c287ed21011a6e7038ce358306dd6d2b9d4d58 Mon Sep 17 00:00:00 2001 From: Anthony Lin Date: Fri, 5 Jan 2018 18:18:06 +0000 Subject: [PATCH] Update entrypoint.sh Default should be 4 single-thread workers Change-Id: Ifa3d0cbcb16e4018d98bcc8cf70e46d8c9255be0 --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3363fac1..21b9ae7f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \