Merge branch 'enqueue'

This commit is contained in:
James Barnsley
2017-04-07 10:35:06 +12:00
15 changed files with 345 additions and 127 deletions

View File

@ -91,13 +91,15 @@ class WebsocketHandler(tornado.websocket.WebSocketHandler):
mem.iris.send_message(self.connection_id, response)
else:
response = {
'error': 'Method "'+message['method']+'" does not exist',
'status': 0,
'message': 'Method "'+message['method']+'" does not exist',
'request_id': request_id
}
mem.iris.send_message(self.connection_id, response)
else:
response = {
'error': 'Method key missing from request',
'status': 0,
'message': 'Method key missing from request',
'request_id': request_id
}
mem.iris.send_message(self.connection_id, response)