Commit 4cc39abf by Feanil Patel

Update celery config for config files I missed.

parent 3d7a6d8b
...@@ -60,8 +60,7 @@ BROKER_POOL_LIMIT = 0 ...@@ -60,8 +60,7 @@ BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT = 1 BROKER_CONNECTION_TIMEOUT = 1
# For the Result Store, use the django cache named 'celery' # For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND = 'cache' CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND = 'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the # When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped. # connection and to detect if it has been dropped.
......
...@@ -187,9 +187,7 @@ simplefilter('ignore') ...@@ -187,9 +187,7 @@ simplefilter('ignore')
################################# CELERY ###################################### ################################# CELERY ######################################
CELERY_ALWAYS_EAGER = True CELERY_ALWAYS_EAGER = True
CELERY_RESULT_BACKEND = 'cache' CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND = 'memory'
########################### Server Ports ################################### ########################### Server Ports ###################################
......
...@@ -75,8 +75,7 @@ BROKER_POOL_LIMIT = 0 ...@@ -75,8 +75,7 @@ BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT = 1 BROKER_CONNECTION_TIMEOUT = 1
# For the Result Store, use the django cache named 'celery' # For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND = 'cache' CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND = 'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the # When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped. # connection and to detect if it has been dropped.
......
...@@ -112,8 +112,7 @@ BROKER_POOL_LIMIT = 0 ...@@ -112,8 +112,7 @@ BROKER_POOL_LIMIT = 0
BROKER_CONNECTION_TIMEOUT = 1 BROKER_CONNECTION_TIMEOUT = 1
# For the Result Store, use the django cache named 'celery' # For the Result Store, use the django cache named 'celery'
CELERY_RESULT_BACKEND = 'cache' CELERY_RESULT_BACKEND='djcelery.backends.cache:CacheBackend'
CELERY_CACHE_BACKEND = 'celery'
# When the broker is behind an ELB, use a heartbeat to refresh the # When the broker is behind an ELB, use a heartbeat to refresh the
# connection and to detect if it has been dropped. # connection and to detect if it has been dropped.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment