Skip to content

fix: remove the max batch limit - #2962

Open
pedrogameiro wants to merge 1 commit into
mainfrom
pg/batch-limit/1
Open

fix: remove the max batch limit#2962
pedrogameiro wants to merge 1 commit into
mainfrom
pg/batch-limit/1

Conversation

@pedrogameiro

Copy link
Copy Markdown
Contributor

After some practical experience with using the batch feature, it became clear that the overhead of batching is smaller than I expected. With no measurable increase of latency even for big values.

After some practical experience with using the batch feature, it became
clear that the overhead of batching is smaller than I expected. With no
measurable increase of latency even for big values.
@pedrogameiro
pedrogameiro requested a review from a team as a code owner July 8, 2026 08:31
maxEslProcessingTimeSeconds int64 = 600 // see eslProcessingIdleTimeSeconds in values.yaml

// maxExportBatchSizeLimit is a hard upper bound on KUBERPULT_MAX_EXPORT_BATCH_SIZE.
maxExportBatchSizeLimit = 100

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would prefer to increase the maximum (.e.g 1k) threshold instead of removing it. That way we still have a sanity check, and 1k should be enough for everyone.

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