add the ability to disable RabbitMQ queue durability

This commit is contained in:
Ryan Petrello
2019-05-22 14:18:05 -04:00
parent 8c56d1d3a7
commit 40b1e89b67
9 changed files with 66 additions and 5 deletions

View File

@@ -436,6 +436,7 @@ DEVSERVER_DEFAULT_PORT = '8013'
# Set default ports for live server tests.
os.environ.setdefault('DJANGO_LIVE_TEST_SERVER_ADDRESS', 'localhost:9013-9199')
BROKER_DURABILITY = True
BROKER_POOL_LIMIT = None
BROKER_URL = 'amqp://guest:guest@localhost:5672//'
CELERY_DEFAULT_QUEUE = 'awx_private_queue'