From 60fa34e8cc840e7616e08c077deab4764e5788dd Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 4 Jan 2017 14:40:40 -0500 Subject: [PATCH] Fix a redis reference issue We are no longer using redis for Celery --- awx/settings/defaults.py | 2 +- awx/settings/local_settings.py.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index cebdde69fb..439c23783b 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -364,7 +364,7 @@ os.environ.setdefault('DJANGO_LIVE_TEST_SERVER_ADDRESS', 'localhost:9013-9199') # Initialize Django-Celery. djcelery.setup_loader() -BROKER_URL = 'redis://localhost/' +BROKER_URL = 'amqp://guest:guest@localhost:5672//' CELERY_DEFAULT_QUEUE = 'default' CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json' diff --git a/awx/settings/local_settings.py.example b/awx/settings/local_settings.py.example index 20217fa538..e731acc8b1 100644 --- a/awx/settings/local_settings.py.example +++ b/awx/settings/local_settings.py.example @@ -48,7 +48,7 @@ if is_testing(sys.argv): MONGO_DB = 'system_tracking_test' # Celery AMQP configuration. -BROKER_URL = 'redis://localhost/' +BROKER_URL = 'amqp://guest:guest@localhost:5672' # Set True to enable additional logging from the job_event_callback plugin JOB_CALLBACK_DEBUG = False