Skip to content
Snippets Groups Projects
Commit d1fe8755 authored by Mitchell Moore's avatar Mitchell Moore
Browse files

update comment

parent 9890edfc
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ def handle_my_custom_event(json, methods=['GET', 'POST']):
def ingest_data(json, methods=['GET', 'POST']):
print (time.strftime("%m-%d-%Y_%H:%M:%S") + '\tQueue request received: ' + str(json))
# Begin RabbitMQ process.
connection = pika.BlockingConnection(
pika.ConnectionParameters(host='localhost'))
channel = connection.channel()
......@@ -64,7 +65,7 @@ def ingest_data(json, methods=['GET', 'POST']):
print(" [x] Sent %r:%r" % (severity, message))
connection.close()
# Todo: Make the remaining protion of this method in a RabbitMQ consumer
# Todo: Make the remaining portion of this method in a RabbitMQ consumer
# try:
# fullname = json["fullname"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment