Skip to content

Limit query to 50k characters. #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Boorinio
Copy link

The limit for segments is 64kb as stated by AWS. If a segment by itself is larger than the limit, you get the error "Message too large." In our case, this can happen with large queries and eager loads (especially in Laravel). This PR limits the query size to stay within the segment size.

Side note: the AbstractDaemonSegmentSubmitterTest fails with the same message, but that is out of scope for this PR. (My guess is that on macOS I’m using the default UDP buffer size of 9kb.)

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