Commit e47ff641 by kimth

Testing new instances of xqueue

parent e3ed3838
...@@ -818,7 +818,7 @@ class CodeResponse(LoncapaResponse): ...@@ -818,7 +818,7 @@ class CodeResponse(LoncapaResponse):
''' '''
Configure CodeResponse from XML. Supports both CodeResponse and ExternalResponse XML Configure CodeResponse from XML. Supports both CodeResponse and ExternalResponse XML
Determines whether in synchronous or asynchronous (queued) mode TODO: Determines whether in synchronous or asynchronous (queued) mode
''' '''
xml = self.xml xml = self.xml
self.url = xml.get('url', None) # XML can override external resource (grader/queue) URL self.url = xml.get('url', None) # XML can override external resource (grader/queue) URL
......
...@@ -10,7 +10,8 @@ import time ...@@ -10,7 +10,8 @@ import time
# TODO: Collection of parameters to be hooked into rest of edX system # TODO: Collection of parameters to be hooked into rest of edX system
XQUEUE_LMS_AUTH = { 'username': 'LMS', XQUEUE_LMS_AUTH = { 'username': 'LMS',
'password': 'PaloAltoCA' } 'password': 'PaloAltoCA' }
XQUEUE_URL = 'http://xqueue.edx.org' #XQUEUE_URL = 'http://xqueue.edx.org'
XQUEUE_URL = 'http://ec2-50-19-40-84.compute-1.amazonaws.com'
log = logging.getLogger('mitx.' + __name__) log = logging.getLogger('mitx.' + __name__)
......
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