From df602ceb383813a0230b40953f9ba8d347c8717f Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 7 Jun 2024 02:17:40 +0200 Subject: [PATCH] Test shutdown. --- thermostat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thermostat.py b/thermostat.py index c861de3..da9eafe 100755 --- a/thermostat.py +++ b/thermostat.py @@ -384,11 +384,13 @@ def thermostat_loop(): logging.info("====== Ended successfully ======") #if __name__ == '__main__': -xprint('toto') +xprint('toto1') t1 = Thread(target=thermostat_loop) #t1.daemon = True t1.start() +xprint('toto2') gunicorn_app = app +xprint('toto3') #t1.join() #exit(0) # app.run(host='0.0.0.0', port=3002)