Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed data-sending delay #994

Merged
merged 1 commit into from Nov 15, 2022
Merged

Fixed data-sending delay #994

merged 1 commit into from Nov 15, 2022

Conversation

samson0v
Copy link
Contributor

No description provided.

@imbeacon imbeacon merged commit 4f71dd9 into thingsboard:master Nov 15, 2022
@devaskim
Copy link
Contributor

This PR cause exception

[STREAM ONLY] 2022-11-27 23:56:40,685 - ERROR - [tb_gateway_service.py] - tb_gateway_service - 892 - 'TBGatewayService' object has no attribute '_TBGatewayService__min_pack_send_delay_ms'
Traceback (most recent call last):
  File "C:\Users\User\code\thingsboard-gateway\thingsboard_gateway\gateway\tb_gateway_service.py", line 890, in __read_data_from_storage
    sleep(self.__min_pack_send_delay_ms)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Seems thread starts earlier than delay variable has been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Ever increasing data latency when connecting to multiple OPC-UA servers
3 participants