In order to prevent the server from restarting in a loop
when an error shows up. Otherwise, it creates a bunch of new
redfish client session and make it quickly unavailable due to the
session limit.
Probably not intended to be kept.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
dcbdfd33feda40df82dc898011bfbd690c7aca31)
if __name__ == '__main__':
system.start_update_loop()
reporter_agent.run()
- app.run(debug=True)
+ app.run(debug=True, use_reloader=False)