diff --git a/settings/dev.py b/settings/dev.py index 3f06a336..d2244b98 100644 --- a/settings/dev.py +++ b/settings/dev.py @@ -60,10 +60,7 @@ REDIRECT_IS_HTTPS = False BASE_URL_SECURE = 'https://0.0.0.0' # use redis as queuing service -BROKER_TRANSPORT = "redis" -BROKER_HOST = "localhost" -BROKER_PORT = 6379 -BROKER_VHOST = "0" +BROKER_URL = "redis://localhost:6379/0" # send celery log to Python logging CELERYD_HIJACK_ROOT_LOGGER = False diff --git a/settings/just.py b/settings/just.py index 094c1f4d..6e8262b6 100644 --- a/settings/just.py +++ b/settings/just.py @@ -49,10 +49,7 @@ BASE_URL_SECURE = 'https://just.unglue.it' IPN_SECURE_URL = False # use redis for production queue -BROKER_TRANSPORT = "redis" -BROKER_HOST = "localhost" -BROKER_PORT = 6379 -BROKER_VHOST = "0" +BROKER_URL = "redis://localhost:6379/0" LOGGING = { 'version': 1, diff --git a/settings/please.py b/settings/please.py index fc90011c..f1cfca43 100644 --- a/settings/please.py +++ b/settings/please.py @@ -47,10 +47,7 @@ CELERYD_HIJACK_ROOT_LOGGER = False BASE_URL_SECURE = 'https://please.unglueit.com' # use redis for production queue -BROKER_TRANSPORT = "redis" -BROKER_HOST = "localhost" -BROKER_PORT = 6379 -BROKER_VHOST = "0" +BROKER_URL = "redis://localhost:6379/0" LOGGING = { 'version': 1, diff --git a/settings/prod.py b/settings/prod.py index 917cce0b..9a197dff 100644 --- a/settings/prod.py +++ b/settings/prod.py @@ -51,10 +51,7 @@ BASE_URL_SECURE = 'https://unglue.it' IPN_SECURE_URL = False # use redis for production queue -BROKER_TRANSPORT = "redis" -BROKER_HOST = "localhost" -BROKER_PORT = 6379 -BROKER_VHOST = "0" +BROKER_URL = "redis://localhost:6379/0" LOGGING = { 'version': 1, diff --git a/settings/travis.py b/settings/travis.py index cfdd458d..5aa3d8de 100644 --- a/settings/travis.py +++ b/settings/travis.py @@ -47,10 +47,7 @@ REDIRECT_IS_HTTPS = False #BASE_URL = 'http://0.0.0.0/' BASE_URL_SECURE = 'http://0.0.0.0/' -BROKER_TRANSPORT = "redis" -BROKER_HOST = "localhost" -BROKER_PORT = 6379 -BROKER_VHOST = "0" +BROKER_URL = "redis://localhost:6379/0" # Amazon S3 access AWS_STORAGE_BUCKET_NAME = 'unglueit-testfiles'