Commit bdc9bf74 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

receiver gracefully close

parent 6d4340aa
......@@ -226,5 +226,6 @@ if __name__ == "__main__":
logger.critical(traceback.format_exc())
logger.critical(str(err))
raise
receiver.close()
connection.close()
logger.info("amqp worker quitting")
Supports Markdown
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