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

feat: Reduce the limit for messages in Stream from 50k to 10k. #2185

Merged
merged 4 commits into from
Oct 24, 2024

Conversation

stiegerc
Copy link
Contributor

@stiegerc stiegerc commented Oct 22, 2024

Since streams can be oversized by design, there is no check for this limit that would trigger a staged rollout. It's just that building streams will respect the new limit henceforth (except the usual oversizing due to reject responses). Meaning streams with more messages will just chew through them and not include new messages until they are below the new limit.

Note that 50k was way higher than anything realistically attainable considering bottlenecks are elsewhere. Even 10k is still generous.

@github-actions github-actions bot added the feat label Oct 22, 2024
@stiegerc stiegerc marked this pull request as ready for review October 22, 2024 20:17
@stiegerc stiegerc requested a review from a team as a code owner October 22, 2024 20:17
Copy link
Contributor

@alin-at-dfinity alin-at-dfinity left a comment

Choose a reason for hiding this comment

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

LGTM

@stiegerc stiegerc added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 23, 2024
@stiegerc stiegerc added this pull request to the merge queue Oct 24, 2024
Merged via the queue into master with commit ac6c9d1 Oct 24, 2024
25 checks passed
@stiegerc stiegerc deleted the reduce_max_stream_messages branch October 24, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants