
#CELERY CONFIG

SITE_ID = 1

#CARROT_BACKEND = "ghettoq.taproot.Redis"
CARROT_BACKEND = "redis"

BROKER_HOST = "localhost"  # Maps to redis host.
BROKER_PORT = 6379         # Maps to redis port.
BROKER_VHOST = "0"         # Maps to database number.

CELERY_RESULT_BACKEND = "redis"
CELERY_REDIS_HOST = "localhost"
CELERY_REDIS_PORT = 6379
CELERY_REDIS_DB = 0
#CELERY_REDIS_CONNECT_RETRY = True
CELERY_TIMEZONE = 'Europe/London'
CELERY_ENABLE_UTC = True

@@ -28,227 +28,121 @@
 1%0A%0A#
-CARROT_BACKEND = %22ghettoq.taproot.Redis%22%0ACARROT_BACKEND = %22redis%22%0A%0ABROKER_HOST = %22localhost%22  # Maps to redis host.%0ABROKER_PORT = 6379         # Maps to redis port.%0ABROKER_VHOST = %220%22         # Maps to database number.%0A
+# Broker settings%0ABROKER_URL = %22redis://localhost:6379/0%22%0A%0A## Using the database to store task state and results.
 %0ACEL
@@ -172,31 +172,11 @@
 edis
-%22%0ACELERY_REDIS_HOST = %22
+://
 loca
@@ -180,16 +180,23 @@
 ocalhost
+:6379/0
 %22%0ACELERY
@@ -200,45 +200,48 @@
 ERY_
-REDIS_PORT = 6379%0ACELERY_REDIS_DB = 0
+TASK_RESULT_EXPIRES = 18000  # 5 hours.%0A
 %0A#CE

fix depreciate settings in celery 3.x