Commit e4b445b5 by Will Daly

Merge pull request #377 from edx/will/celery-broker-settings

Will/celery broker settings
parents 94aeb71e 0da1e744
...@@ -106,3 +106,16 @@ ORA2_AI_ALGORITHMS = { ...@@ -106,3 +106,16 @@ ORA2_AI_ALGORITHMS = {
'fake': 'openassessment.assessment.worker.algorithm.FakeAIAlgorithm', 'fake': 'openassessment.assessment.worker.algorithm.FakeAIAlgorithm',
'ease': 'openassessment.assessment.worker.algorithm.EaseAIAlgorithm' 'ease': 'openassessment.assessment.worker.algorithm.EaseAIAlgorithm'
} }
# Celery Broker
CELERY_BROKER_TRANSPORT = "amqp"
CELERY_BROKER_HOSTNAME = "localhost:5672//"
CELERY_BROKER_USER = "guest"
CELERY_BROKER_PASSWORD = "guest"
BROKER_URL = "{0}://{1}:{2}@{3}".format(
CELERY_BROKER_TRANSPORT,
CELERY_BROKER_USER,
CELERY_BROKER_PASSWORD,
CELERY_BROKER_HOSTNAME,
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment