Test shutdown.
This commit is contained in:
parent
17aaa750e9
commit
c12bf0b9a8
@ -386,7 +386,7 @@ def thermostat_loop():
|
|||||||
#if __name__ == '__main__':
|
#if __name__ == '__main__':
|
||||||
xprint('toto')
|
xprint('toto')
|
||||||
t1 = Thread(target=thermostat_loop)
|
t1 = Thread(target=thermostat_loop)
|
||||||
#t1.daemon = True
|
t1.daemon = True
|
||||||
t1.start()
|
t1.start()
|
||||||
gunicorn_app = app
|
gunicorn_app = app
|
||||||
t1.join()
|
t1.join()
|
||||||
|
Loading…
Reference in New Issue
Block a user