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

[ntcore] Various fixes and cleanups #4544

Merged
merged 8 commits into from
Nov 5, 2022

Conversation

PeterJohnson
Copy link
Member

@PeterJohnson PeterJohnson commented Nov 2, 2022

  • NetworkTableInstance: set handle to 0 after destroy
  • Fix multiple notifications of local values
  • Detect mismatch between handles (C/C++ layer done, need to do it at OO layer)
  • Fix setting min period from server when no topics are published
  • Add ceiling limit to publishers and subscribers to detect accidental leaks

@PeterJohnson PeterJohnson requested a review from a team as a code owner November 2, 2022 04:44
virtuald
virtuald previously approved these changes Nov 3, 2022
Copy link
Member

@virtuald virtuald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

This helps find resource leaks and prevents them from causing excessive
slowdowns/crashes.  The limit on each is currently set to 512.
@PeterJohnson PeterJohnson merged commit 4ba16db into wpilibsuite:main Nov 5, 2022
@PeterJohnson PeterJohnson deleted the nt-tweaks branch November 5, 2022 03:01
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