mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Set a default TTL for celery event queue messages
This commit is contained in:
@@ -414,6 +414,7 @@ os.environ.setdefault('DJANGO_LIVE_TEST_SERVER_ADDRESS', 'localhost:9013-9199')
|
|||||||
djcelery.setup_loader()
|
djcelery.setup_loader()
|
||||||
|
|
||||||
BROKER_URL = 'amqp://guest:guest@localhost:5672//'
|
BROKER_URL = 'amqp://guest:guest@localhost:5672//'
|
||||||
|
CELERY_EVENT_QUEUE_TTL = 5
|
||||||
CELERY_DEFAULT_QUEUE = 'tower'
|
CELERY_DEFAULT_QUEUE = 'tower'
|
||||||
CELERY_TASK_SERIALIZER = 'json'
|
CELERY_TASK_SERIALIZER = 'json'
|
||||||
CELERY_RESULT_SERIALIZER = 'json'
|
CELERY_RESULT_SERIALIZER = 'json'
|
||||||
|
|||||||
Reference in New Issue
Block a user