]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
node-proxy: use `use_reloader=False`
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 5 Apr 2023 12:18:19 +0000 (14:18 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:48:55 +0000 (14:48 +0000)
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)

src/cephadm/node-proxy/server.py

index b2fef2845f23a63c10c142699e688b7650baef65..8928cf8de0eb491190ac5b7703864358c85fb9f3 100644 (file)
@@ -56,4 +56,4 @@ def delete():
 if __name__ == '__main__':
     system.start_update_loop()
     reporter_agent.run()
-    app.run(debug=True)
+    app.run(debug=True, use_reloader=False)