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

Reduce reconnection message spam #62

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

aigarius
Copy link
Member

When reading a DLT from a device that is offline for a while (for example during flashing), DLT would spam 3 messages every 5 seconds.

Reduce this to 1 message per minute and add time information into the messages to increase their usefulness

@aigarius aigarius requested review from khiz678 and yen3 September 25, 2023 14:43
@aigarius aigarius force-pushed the reduce_reconnect_debug_spam branch from e481d16 to 8092fc8 Compare September 25, 2023 14:46
@aigarius
Copy link
Member Author

recheck

@aigarius aigarius force-pushed the reduce_reconnect_debug_spam branch from 8092fc8 to 37a33a5 Compare September 26, 2023 09:06
When reading a DLT from a device that is offline for a while
(for example during flashing), DLT would spam 3 messages
every 5 seconds.

Reduce this to 1 message per minute and add time information
into the messages to increase their usefulness
@aigarius aigarius force-pushed the reduce_reconnect_debug_spam branch from 37a33a5 to 31ccf70 Compare September 26, 2023 09:38
@yen3
Copy link
Contributor

yen3 commented Oct 13, 2023

Please help to add unit test cases for your change. Thank you.

@yen3 yen3 merged commit da7de2c into master Oct 13, 2023
3 checks passed
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.

2 participants