Skip to content

Commit

Permalink
Merge pull request #9 from SolaceDev:fix_timer_issue
Browse files Browse the repository at this point in the history
Fix_timer_issue
  • Loading branch information
efunneko authored Jul 15, 2024
2 parents 59e92b8 + bb19336 commit 96fe7b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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={})

Expand Down
Empty file removed test
Empty file.

0 comments on commit 96fe7b0

Please sign in to comment.