From: Guillaume Pellerin Date: Mon, 14 Dec 2015 00:45:31 +0000 (+0100) Subject: comment update_index, reduce processes X-Git-Tag: 1.6b~7^2~39^2~3^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=17ca8fbb5389d237725bbe617014feebb7a9875c;p=telemeta.git comment update_index, reduce processes --- 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 \