From b600fd17ef610dfd71904d3e958c37c16a463527 Mon Sep 17 00:00:00 2001 From: LuqP2 Date: Tue, 6 Jan 2026 23:28:04 -0300 Subject: [PATCH] fix: clear timer node cache before generation --- timer_node.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/timer_node.py b/timer_node.py index 5d033dd..cebf351 100644 --- a/timer_node.py +++ b/timer_node.py @@ -39,6 +39,14 @@ class MetaHubTimerNode: DESCRIPTION = "Measures workflow execution time for MetaHub Save Node" OUTPUT_NODE = False + @classmethod + def IS_CHANGED(cls, **kwargs): + """ + Force this node to ALWAYS re-execute, never use cached results. + This is critical because we need a fresh timestamp for every generation. + """ + return float("nan") # NaN forces ComfyUI to always re-execute + def measure_time(self, clip=None, image=None, latent=None, conditioning=None): """ Records the current timestamp when this node executes.