From 0c2d5ff5618c2464a77614bb29274b0e01f69de4 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 7 Jun 2024 02:10:53 +0200 Subject: [PATCH] Test shutdown. --- thermostat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thermostat.py b/thermostat.py index ae27990..c861de3 100755 --- a/thermostat.py +++ b/thermostat.py @@ -386,9 +386,9 @@ def thermostat_loop(): #if __name__ == '__main__': xprint('toto') t1 = Thread(target=thermostat_loop) -t1.daemon = True +#t1.daemon = True t1.start() gunicorn_app = app -t1.join() -exit(0) +#t1.join() +#exit(0) # app.run(host='0.0.0.0', port=3002)