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

[processor/batch] Remove wrong config validation #11962

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lopes-felipe
Copy link
Member

Description

There is a config validation which enforces that send_batch_max_size must be greater than send_batch_size. This makes it impossible to have a setup of a batch that is triggered when a number of items are processed (SendBatchSize), but we want to break that set into multiple smaller batches (SendBatchMaxSize < SendBatchSize).

This logic was introduced here, due to this issue, but the underlying bug was fixed here, so this validation shouldn't exist anymore.

@lopes-felipe lopes-felipe requested a review from a team as a code owner December 19, 2024 19:34
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.62%. Comparing base (50104db) to head (cc4e8ad).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11962      +/-   ##
==========================================
- Coverage   91.62%   91.62%   -0.01%     
==========================================
  Files         447      447              
  Lines       23731    23728       -3     
==========================================
- Hits        21743    21740       -3     
  Misses       1613     1613              
  Partials      375      375              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant