From 3d5d98b44795247ba41df42ceb0202be0659a716 Mon Sep 17 00:00:00 2001 From: Bryan Date: Thu, 26 Feb 2015 21:41:05 -0500 Subject: [PATCH] setting worker queue restriction for #413 --- celerywrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1