diff --git a/src/solace_ai_connector/components/inputs_outputs/timer_input.py b/src/solace_ai_connector/components/inputs_outputs/timer_input.py index dc2821e..b9542ff 100644 --- a/src/solace_ai_connector/components/inputs_outputs/timer_input.py +++ b/src/solace_ai_connector/components/inputs_outputs/timer_input.py @@ -59,8 +59,8 @@ def get_next_message(self): else: # Sleep for the remaining time sleep_time = (self.interval_ms - delta_time) / 1000 - self.last_message_time += sleep_time time.sleep(sleep_time) + self.last_message_time = self.get_current_time() return Message(payload={}) diff --git a/test b/test deleted file mode 100644 index e69de29..0000000