Test shutdown.
This commit is contained in:
parent
0c2d5ff561
commit
df602ceb38
@ -384,11 +384,13 @@ def thermostat_loop():
|
|||||||
logging.info("====== Ended successfully ======")
|
logging.info("====== Ended successfully ======")
|
||||||
|
|
||||||
#if __name__ == '__main__':
|
#if __name__ == '__main__':
|
||||||
xprint('toto')
|
xprint('toto1')
|
||||||
t1 = Thread(target=thermostat_loop)
|
t1 = Thread(target=thermostat_loop)
|
||||||
#t1.daemon = True
|
#t1.daemon = True
|
||||||
t1.start()
|
t1.start()
|
||||||
|
xprint('toto2')
|
||||||
gunicorn_app = app
|
gunicorn_app = app
|
||||||
|
xprint('toto3')
|
||||||
#t1.join()
|
#t1.join()
|
||||||
#exit(0)
|
#exit(0)
|
||||||
# app.run(host='0.0.0.0', port=3002)
|
# app.run(host='0.0.0.0', port=3002)
|
||||||
|
Loading…
Reference in New Issue
Block a user