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 in configuration for event buffers #438

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Conversation

Ktmi
Copy link

@Ktmi Ktmi commented Jan 11, 2024

This PR adds in configuration options for event buffers. This is based on the configuration that #412 had implemented, but removes rate limiting.

Local Tests

Everything appears to work as expected, with the only real difference being the ability to configure through the kytos.conf file.

@Ktmi Ktmi requested a review from viniarck January 11, 2024 21:53
@Ktmi Ktmi requested a review from a team as a code owner January 11, 2024 21:53
Copy link
Member

@viniarck viniarck left a comment

Choose a reason for hiding this comment

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

Overall looks good. This unblocks other tasks, I'll keep using the feat/event_buffer_config as a base branch for upcoming PRs. @Ktmi, before this lands, unit tests needs to be included too, and also changelog needs to be updated.

kytos/core/buffers/factory.py Show resolved Hide resolved
kytos/templates/kytos.conf.template Outdated Show resolved Hide resolved
Copy link
Member

@viniarck viniarck left a comment

Choose a reason for hiding this comment

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

I'll leave it pre-approved. David, feel free to merge once the minor threads are addressed. I appreciated your help with this one. Thanks.

@Ktmi Ktmi merged commit 9b5c3c9 into master Jan 24, 2024
2 checks passed
@Ktmi Ktmi deleted the feat/event_buffer_config branch January 24, 2024 20:56
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