Testing new instances of xqueue

This commit is contained in:
kimth
2012-08-09 11:57:59 -04:00
parent e3ed383888
commit e47ff641f3
2 changed files with 3 additions and 2 deletions

View File

@@ -818,7 +818,7 @@ class CodeResponse(LoncapaResponse):
'''
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
self.url = xml.get('url', None) # XML can override external resource (grader/queue) URL

View File

@@ -10,7 +10,8 @@ import time
# TODO: Collection of parameters to be hooked into rest of edX system
XQUEUE_LMS_AUTH = { 'username': 'LMS',
'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__)