fix: Remove unused variables and trigger garbage collection in schedule handling
This commit is contained in:
parent
bcecf2a81a
commit
6cd1349633
@ -537,6 +537,7 @@ class TempWebServer:
|
|||||||
if heater_monitor:
|
if heater_monitor:
|
||||||
heater_monitor.target_temp = config['heater_target']
|
heater_monitor.target_temp = config['heater_target']
|
||||||
heater_monitor.temp_swing = config['heater_swing']
|
heater_monitor.temp_swing = config['heater_swing']
|
||||||
|
del schedules, params, prev_schedules, prev
|
||||||
gc.collect()
|
gc.collect()
|
||||||
# Send Discord notification
|
# Send Discord notification
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user