Test shutdown.
This commit is contained in:
parent
c12bf0b9a8
commit
0c2d5ff561
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user