garbage_collection: freeze objects on klippy ready (#6794)

This significantly reduces the amount of data in the generation 2 garbage collection bucket from the initial startup of klipper.

Signed-off-by: Branden Cash <203336+ammmze@users.noreply.github.com>
This commit is contained in:
Branden Cash
2025-02-02 16:40:43 -07:00
committed by GitHub
parent 0114d72a6c
commit d57fe4395e
2 changed files with 32 additions and 1 deletions

View File

@@ -290,7 +290,7 @@ class ToolHead:
self._handle_shutdown)
# Load some default modules
modules = ["gcode_move", "homing", "idle_timeout", "statistics",
"manual_probe", "tuning_tower"]
"manual_probe", "tuning_tower", "garbage_collection"]
for module_name in modules:
self.printer.load_object(config, module_name)
# Print time and flush tracking