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

fix MAX_BATCH_SIZE const #17

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

NickKhalow
Copy link

Pull Request

Solved issue

Wrong limit of MAX_BATCH_SIZE causes 400 error on sending data when the batch is fully loaded.
HTTP status client error (400 Bad Request) for url (https://api.segment.io/v1/batch)

What does this PR do?

Replaced MAX_BATCH_SIZE value from 512 to 500 according the docs limit of 500 KB.
https://segment.com/docs/connections/sources/catalog/libraries/server/http-api/

Copy link
Member

@irevoire irevoire left a comment

Choose a reason for hiding this comment

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

Hey @NickKhalow, good catch thanks a lot 🔥

@irevoire irevoire merged commit ee4e583 into meilisearch:main Mar 5, 2025
4 checks passed
@irevoire
Copy link
Member

irevoire commented Mar 5, 2025

Made a new v0.2.6 release here with your change

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