From 8a9e81a7fa8e1073fea61e18369303ce89953ef4 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 20 May 2019 10:42:18 +0200 Subject: [PATCH] auto concurrency for worker, no autoreload --- app/bin/worker.sh | 4 ++-- lib/TimeSide | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/bin/worker.sh b/app/bin/worker.sh index aae0573e..256dc2da 100755 --- a/app/bin/worker.sh +++ b/app/bin/worker.sh @@ -4,7 +4,7 @@ app='/srv/app' manage=$app'/manage.py' wsgi=$app'/wsgi.py' -concurrency=12 +#concurrency=12 # stating apps # pip uninstall -y south @@ -23,4 +23,4 @@ bash $app/bin/wait.sh # Starting celery worker with the --autoreload option will enable the worker to watch for file system changes # This is an experimental feature intended for use in development only # see http://celery.readthedocs.org/en/latest/userguide/workers.html#autoreloading -python $manage celery worker --autoreload -A worker --concurrency=$concurrency +python $manage celery worker -A worker diff --git a/lib/TimeSide b/lib/TimeSide index 484f6ad7..04bdf6b0 160000 --- a/lib/TimeSide +++ b/lib/TimeSide @@ -1 +1 @@ -Subproject commit 484f6ad709401ea85fba35417567caf6a912b461 +Subproject commit 04bdf6b0ce368092e06695e191dcdae508fef1e3 -- 2.39.5