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

Add a class to help with limiting rates of events #18

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Dec 1, 2021

This adds a simple utility class that helps limit the rate of events. This can be used to detect if a pathological cycle of conflict is happening.

Signed-off-by: Michael X. Grey <grey@openrobotics.org>
@mxgrey
Copy link
Contributor Author

mxgrey commented Dec 1, 2021

A side-effect of this is we need to make rmf_utils a true shared library instead of only being an interface library.

Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

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

Works great! Thanks for making the changes to the library too! I will leave it un-merged waiting for the other PRs to be ready.

@mxgrey
Copy link
Contributor Author

mxgrey commented Dec 16, 2021

We can go ahead and merge this any time since it doesn't create any conflicts.

@mxgrey mxgrey merged commit d8c67b8 into main Dec 16, 2021
@mxgrey mxgrey deleted the feature/RateLimiter branch December 16, 2021 02:11
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.

None yet

2 participants