Skip to content

Commit

Permalink
simplify timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaigner committed Jul 15, 2024
1 parent f8fdc0e commit f59812f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/threads/thingsboard_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,4 @@ def main(headless: bool = False) -> None:
logger.info("Failed to publish last telemetry data.")

if config.thingsboard is not None:
if config.thingsboard.seconds_per_publish_interval is None:
time.sleep(60)
else:
time.sleep(config.thingsboard.seconds_per_publish_interval)
time.sleep(config.thingsboard.seconds_per_publish_interval)

0 comments on commit f59812f

Please sign in to comment.