fix: Remove unused variables and trigger garbage collection in schedule handling

This commit is contained in:
Aaron 2025-11-15 13:49:20 -05:00
parent bcecf2a81a
commit 6cd1349633

View File

@ -537,6 +537,7 @@ class TempWebServer:
if heater_monitor:
heater_monitor.target_temp = config['heater_target']
heater_monitor.temp_swing = config['heater_swing']
del schedules, params, prev_schedules, prev
gc.collect()
# Send Discord notification
try: