From: Bryan Date: Fri, 27 Feb 2015 02:41:05 +0000 (-0500) Subject: setting worker queue restriction for #413 X-Git-Tag: release-20150325~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3d5d98b44795247ba41df42ceb0202be0659a716;p=oweals%2Fkarmaworld.git setting worker queue restriction for #413 --- diff --git a/celerywrapper.sh b/celerywrapper.sh index 4fe68a1..d721f2d 100755 --- a/celerywrapper.sh +++ b/celerywrapper.sh @@ -1,5 +1,5 @@ #!/bin/bash -python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info & +python manage.py celery worker --pidfile=/tmp/celeryd.pid -l info -Q $CELERY_QUEUE_NAME & sleep 5 workerpid=`cat /tmp/celeryd.pid` echo "Started celery worker with pid $workerpid"