From 36b53462cb886447c90b44edf79dd295d189022b Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 2 Jun 2024 14:36:11 +0200 Subject: [PATCH] Continue Flask migration. --- thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thermostat.py b/thermostat.py index ab81434..fea5977 100644 --- a/thermostat.py +++ b/thermostat.py @@ -327,6 +327,7 @@ def thermostat_loop(): time.sleep(load_shedder_interval) t1 = Thread(target=thermostat_loop) +t1.daemon = True t1.start() logging.info("====== Ended successfully ======")