Continue Flask migration.
This commit is contained in:
parent
e6bbbb8a06
commit
36b53462cb
@ -327,6 +327,7 @@ def thermostat_loop():
|
|||||||
time.sleep(load_shedder_interval)
|
time.sleep(load_shedder_interval)
|
||||||
|
|
||||||
t1 = Thread(target=thermostat_loop)
|
t1 = Thread(target=thermostat_loop)
|
||||||
|
t1.daemon = True
|
||||||
t1.start()
|
t1.start()
|
||||||
logging.info("====== Ended successfully ======")
|
logging.info("====== Ended successfully ======")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user