Test shutdown.

This commit is contained in:
yohan 2024-06-07 02:10:53 +02:00
parent c12bf0b9a8
commit 0c2d5ff561

View File

@ -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)