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

implement global limit for TIE fetches #6

Merged
merged 1 commit into from
Sep 22, 2023
Merged

implement global limit for TIE fetches #6

merged 1 commit into from
Sep 22, 2023

Conversation

satta
Copy link
Member

@satta satta commented Sep 21, 2023

This PR adds limit functionality to ensure a maximum number of IoCs in order not to overwhelm consuming parties. Indicators put on the bus will be limited in maximum to the given number, processing them in the type order as specified in the collectors.tie.data-types field until the limit is reached or before all items have been processed; whatever happens first.

@satta satta requested review from 0mbi and fhonza September 21, 2023 21:05
Copy link

@fhonza fhonza left a comment

Choose a reason for hiding this comment

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

looks good

@satta satta merged commit 2a7668f into main Sep 22, 2023
1 check passed
@satta satta deleted the limit branch September 22, 2023 07:20
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