Disable debug mode in production so teardown requests execute on exception.

This commit is contained in:
jakedt 2014-03-10 12:48:03 -04:00
parent b3dad1fc0b
commit 52d2229482

View file

@ -39,9 +39,5 @@ def close_db(exc):
application.teardown_request(close_db)
# Remove this for prod config
application.debug = True
if __name__ == '__main__':
application.run(port=5000, debug=True, threaded=True, host='0.0.0.0')