diff --git a/app/conf/common.py b/app/conf/common.py index 70d6dcc..e294130 100644 --- a/app/conf/common.py +++ b/app/conf/common.py @@ -88,7 +88,7 @@ LOGIN_URL = "/login" ### Celery Schedule -from celeryschedule import CELERYBEAT_SCHEDULE +from celeryschedule import * CELERY_SEND_TASK_ERROR_EMAILS = True CELERY_RESULT_BACKEND = "amqp" diff --git a/fabfile.py b/fabfile.py index b45e667..e668211 100644 --- a/fabfile.py +++ b/fabfile.py @@ -19,7 +19,7 @@ def production(): env.uwsgiconfig = os.path.join(env.path, '..', 'etc', 'uwsgi', 'dreddit-auth.ini') env.password = sha1('%s-%s' % (env.user, env.vhost)).hexdigest() - env.celeryconf = '-l INFO --settings=%(config)s --pidfile=logs/%%n.pid --logfile=logs/%%n.log -n auth.pleaseignore.com bulk default -c 5 -c:bulk 3 -B:default' % env + env.celeryconf = '-l INFO --settings=%(config)s --pidfile=logs/%%n.pid --logfile=logs/%%n.log -n auth.pleaseignore.com bulk default -Q:bulk bulk -c 5 -c:bulk 3 -B:default' % env def test(): "Use the test enviroment on Web2"