]> git.parisson.com Git - telemeta.git/commitdiff
auto concurrency for worker, no autoreload
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 20 May 2019 08:42:18 +0000 (10:42 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 20 May 2019 08:42:18 +0000 (10:42 +0200)
app/bin/worker.sh
lib/TimeSide

index aae0573ebc2c96bcaba55ba9509c204f812e102a..256dc2dae8b21bfa3ad33ee15fc578795ce1c4ee 100755 (executable)
@@ -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
index 484f6ad709401ea85fba35417567caf6a912b461..04bdf6b0ce368092e06695e191dcdae508fef1e3 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 484f6ad709401ea85fba35417567caf6a912b461
+Subproject commit 04bdf6b0ce368092e06695e191dcdae508fef1e3