From 17ca8fbb5389d237725bbe617014feebb7a9875c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 14 Dec 2015 01:45:31 +0100 Subject: [PATCH] comment update_index, reduce processes --- Dockerfile | 1 - app/deploy/start_app.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b0fce37..f4a090fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# FROM parisson/timeside:latest-dev FROM parisson/timeside:latest-dev MAINTAINER Guillaume Pellerin , Thomas fillon diff --git a/app/deploy/start_app.sh b/app/deploy/start_app.sh index be957d17..df4fe3fb 100644 --- a/app/deploy/start_app.sh +++ b/app/deploy/start_app.sh @@ -8,7 +8,7 @@ static='/opt/static/' # uwsgi params port=8000 -processes=32 +processes=16 threads=2 autoreload=3 @@ -24,7 +24,7 @@ python $manage migrate --noinput python $manage collectstatic --noinput python $manage telemeta-create-admin-user python $manage telemeta-create-boilerplate -python $manage update_index --workers $processes +#python $manage update_index --workers $processes # static files auto update watchmedo shell-command --patterns="*.js;*.css" --recursive \ -- 2.39.5