# HG changeset patch # User Brian Neal # Date 1431804394 18000 # Node ID 87fda1bb8d38bbcdadbc1ea8ef6fef367cb4200e # Parent 7ab180ff6f7b5c704799b5a1d15a74d87768f952 New celery options for Django 1.7.7 upgrade. diff -r 7ab180ff6f7b -r 87fda1bb8d38 sg101/settings/base.py --- a/sg101/settings/base.py Wed May 13 20:29:23 2015 -0500 +++ b/sg101/settings/base.py Sat May 16 14:26:34 2015 -0500 @@ -208,11 +208,17 @@ ####################################################################### BROKER_URL = 'redis+socket:///var/run/redis/redis.sock?virtual_host=1' BROKER_POOL_LIMIT = 10 +BROKER_TRANSPORT_OPTIONS = { + 'fanout_prefix': True, + 'fanout_patterns': True, +} CELERY_TIMEZONE = TIME_ZONE CELERY_TASK_SERIALIZER = 'json' CELERY_ACCEPT_CONTENT = ['json'] CELERY_IGNORE_RESULT = True +# Set this when we want results: +#CELERY_RESULT_BACKEND = 'redis+socket:///var/run/redis/redis.sock?virtual_host=1&new_join=1' CELERY_DISABLE_RATE_LIMITS = True CELERY_SEND_TASK_ERROR_EMAILS = True